diff --git a/examples/exported-jani-models/beauquier11.jani b/examples/exported-jani-models/beauquier11.jani new file mode 100644 index 000000000..2b271eca3 --- /dev/null +++ b/examples/exported-jani-models/beauquier11.jani @@ -0,0 +1,1655 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"d1", + "type":"bool" + }, + { + "name":"p1", + "type":"bool" + }, + { + "name":"d2", + "type":"bool" + }, + { + "name":"p2", + "type":"bool" + }, + { + "name":"d3", + "type":"bool" + }, + { + "name":"p3", + "type":"bool" + }, + { + "name":"d4", + "type":"bool" + }, + { + "name":"p4", + "type":"bool" + }, + { + "name":"d5", + "type":"bool" + }, + { + "name":"p5", + "type":"bool" + }, + { + "name":"d6", + "type":"bool" + }, + { + "name":"p6", + "type":"bool" + }, + { + "name":"d7", + "type":"bool" + }, + { + "name":"p7", + "type":"bool" + }, + { + "name":"d8", + "type":"bool" + }, + { + "name":"p8", + "type":"bool" + }, + { + "name":"d9", + "type":"bool" + }, + { + "name":"p9", + "type":"bool" + }, + { + "name":"d10", + "type":"bool" + }, + { + "name":"p10", + "type":"bool" + }, + { + "name":"d11", + "type":"bool" + }, + { + "name":"p11", + "type":"bool" + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":true + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":"d11" + }, + "right":{ + "op":"=", + "left":"p1", + "right":"p11" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"¬", + "exp":"d1" + } + }, + { + "ref":"p1", + "value":"p1" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"¬", + "exp":"d1" + } + }, + { + "ref":"p1", + "value":{ + "op":"¬", + "exp":"p1" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":"d11" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p1", + "right":"p11" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"¬", + "exp":"d1" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":"d1" + }, + "right":{ + "op":"=", + "left":"p2", + "right":"p1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"¬", + "exp":"d2" + } + }, + { + "ref":"p2", + "value":"p2" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"¬", + "exp":"d2" + } + }, + { + "ref":"p2", + "value":{ + "op":"¬", + "exp":"p2" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":"d1" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p2", + "right":"p1" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"¬", + "exp":"d2" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":"d2" + }, + "right":{ + "op":"=", + "left":"p3", + "right":"p2" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"¬", + "exp":"d3" + } + }, + { + "ref":"p3", + "value":"p3" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"¬", + "exp":"d3" + } + }, + { + "ref":"p3", + "value":{ + "op":"¬", + "exp":"p3" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":"d2" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p3", + "right":"p2" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"¬", + "exp":"d3" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d4", + "right":"d3" + }, + "right":{ + "op":"=", + "left":"p4", + "right":"p3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d4", + "value":{ + "op":"¬", + "exp":"d4" + } + }, + { + "ref":"p4", + "value":"p4" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d4", + "value":{ + "op":"¬", + "exp":"d4" + } + }, + { + "ref":"p4", + "value":{ + "op":"¬", + "exp":"p4" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d4", + "right":"d3" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p4", + "right":"p3" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d4", + "value":{ + "op":"¬", + "exp":"d4" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d5", + "right":"d4" + }, + "right":{ + "op":"=", + "left":"p5", + "right":"p4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d5", + "value":{ + "op":"¬", + "exp":"d5" + } + }, + { + "ref":"p5", + "value":"p5" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d5", + "value":{ + "op":"¬", + "exp":"d5" + } + }, + { + "ref":"p5", + "value":{ + "op":"¬", + "exp":"p5" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d5", + "right":"d4" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p5", + "right":"p4" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d5", + "value":{ + "op":"¬", + "exp":"d5" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d6", + "right":"d5" + }, + "right":{ + "op":"=", + "left":"p6", + "right":"p5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d6", + "value":{ + "op":"¬", + "exp":"d6" + } + }, + { + "ref":"p6", + "value":"p6" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d6", + "value":{ + "op":"¬", + "exp":"d6" + } + }, + { + "ref":"p6", + "value":{ + "op":"¬", + "exp":"p6" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d6", + "right":"d5" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p6", + "right":"p5" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d6", + "value":{ + "op":"¬", + "exp":"d6" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d7", + "right":"d6" + }, + "right":{ + "op":"=", + "left":"p7", + "right":"p6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d7", + "value":{ + "op":"¬", + "exp":"d7" + } + }, + { + "ref":"p7", + "value":"p7" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d7", + "value":{ + "op":"¬", + "exp":"d7" + } + }, + { + "ref":"p7", + "value":{ + "op":"¬", + "exp":"p7" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d7", + "right":"d6" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p7", + "right":"p6" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d7", + "value":{ + "op":"¬", + "exp":"d7" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d8", + "right":"d7" + }, + "right":{ + "op":"=", + "left":"p8", + "right":"p7" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d8", + "value":{ + "op":"¬", + "exp":"d8" + } + }, + { + "ref":"p8", + "value":"p8" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d8", + "value":{ + "op":"¬", + "exp":"d8" + } + }, + { + "ref":"p8", + "value":{ + "op":"¬", + "exp":"p8" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d8", + "right":"d7" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p8", + "right":"p7" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d8", + "value":{ + "op":"¬", + "exp":"d8" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d9", + "right":"d8" + }, + "right":{ + "op":"=", + "left":"p9", + "right":"p8" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d9", + "value":{ + "op":"¬", + "exp":"d9" + } + }, + { + "ref":"p9", + "value":"p9" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d9", + "value":{ + "op":"¬", + "exp":"d9" + } + }, + { + "ref":"p9", + "value":{ + "op":"¬", + "exp":"p9" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d9", + "right":"d8" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p9", + "right":"p8" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d9", + "value":{ + "op":"¬", + "exp":"d9" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d10", + "right":"d9" + }, + "right":{ + "op":"=", + "left":"p10", + "right":"p9" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d10", + "value":{ + "op":"¬", + "exp":"d10" + } + }, + { + "ref":"p10", + "value":"p10" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d10", + "value":{ + "op":"¬", + "exp":"d10" + } + }, + { + "ref":"p10", + "value":{ + "op":"¬", + "exp":"p10" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d10", + "right":"d9" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p10", + "right":"p9" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d10", + "value":{ + "op":"¬", + "exp":"d10" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d11", + "right":"d10" + }, + "right":{ + "op":"=", + "left":"p11", + "right":"p10" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d11", + "value":{ + "op":"¬", + "exp":"d11" + } + }, + { + "ref":"p11", + "value":"p11" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d11", + "value":{ + "op":"¬", + "exp":"d11" + } + }, + { + "ref":"p11", + "value":{ + "op":"¬", + "exp":"p11" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d11", + "right":"d10" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p11", + "right":"p10" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d11", + "value":{ + "op":"¬", + "exp":"d11" + } + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/beauquier3.jani b/examples/exported-jani-models/beauquier3.jani new file mode 100644 index 000000000..e068dd555 --- /dev/null +++ b/examples/exported-jani-models/beauquier3.jani @@ -0,0 +1,455 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"d1", + "type":"bool" + }, + { + "name":"p1", + "type":"bool" + }, + { + "name":"d2", + "type":"bool" + }, + { + "name":"p2", + "type":"bool" + }, + { + "name":"d3", + "type":"bool" + }, + { + "name":"p3", + "type":"bool" + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":true + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":"d3" + }, + "right":{ + "op":"=", + "left":"p1", + "right":"p3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"¬", + "exp":"d1" + } + }, + { + "ref":"p1", + "value":"p1" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"¬", + "exp":"d1" + } + }, + { + "ref":"p1", + "value":{ + "op":"¬", + "exp":"p1" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":"d3" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p1", + "right":"p3" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"¬", + "exp":"d1" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":"d1" + }, + "right":{ + "op":"=", + "left":"p2", + "right":"p1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"¬", + "exp":"d2" + } + }, + { + "ref":"p2", + "value":"p2" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"¬", + "exp":"d2" + } + }, + { + "ref":"p2", + "value":{ + "op":"¬", + "exp":"p2" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":"d1" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p2", + "right":"p1" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"¬", + "exp":"d2" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":"d2" + }, + "right":{ + "op":"=", + "left":"p3", + "right":"p2" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"¬", + "exp":"d3" + } + }, + { + "ref":"p3", + "value":"p3" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"¬", + "exp":"d3" + } + }, + { + "ref":"p3", + "value":{ + "op":"¬", + "exp":"p3" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":"d2" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p3", + "right":"p2" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"¬", + "exp":"d3" + } + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/beauquier5.jani b/examples/exported-jani-models/beauquier5.jani new file mode 100644 index 000000000..ad391b616 --- /dev/null +++ b/examples/exported-jani-models/beauquier5.jani @@ -0,0 +1,743 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"d1", + "type":"bool" + }, + { + "name":"p1", + "type":"bool" + }, + { + "name":"d2", + "type":"bool" + }, + { + "name":"p2", + "type":"bool" + }, + { + "name":"d3", + "type":"bool" + }, + { + "name":"p3", + "type":"bool" + }, + { + "name":"d4", + "type":"bool" + }, + { + "name":"p4", + "type":"bool" + }, + { + "name":"d5", + "type":"bool" + }, + { + "name":"p5", + "type":"bool" + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":true + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":"d5" + }, + "right":{ + "op":"=", + "left":"p1", + "right":"p5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"¬", + "exp":"d1" + } + }, + { + "ref":"p1", + "value":"p1" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"¬", + "exp":"d1" + } + }, + { + "ref":"p1", + "value":{ + "op":"¬", + "exp":"p1" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":"d5" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p1", + "right":"p5" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"¬", + "exp":"d1" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":"d1" + }, + "right":{ + "op":"=", + "left":"p2", + "right":"p1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"¬", + "exp":"d2" + } + }, + { + "ref":"p2", + "value":"p2" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"¬", + "exp":"d2" + } + }, + { + "ref":"p2", + "value":{ + "op":"¬", + "exp":"p2" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":"d1" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p2", + "right":"p1" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"¬", + "exp":"d2" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":"d2" + }, + "right":{ + "op":"=", + "left":"p3", + "right":"p2" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"¬", + "exp":"d3" + } + }, + { + "ref":"p3", + "value":"p3" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"¬", + "exp":"d3" + } + }, + { + "ref":"p3", + "value":{ + "op":"¬", + "exp":"p3" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":"d2" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p3", + "right":"p2" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"¬", + "exp":"d3" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d4", + "right":"d3" + }, + "right":{ + "op":"=", + "left":"p4", + "right":"p3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d4", + "value":{ + "op":"¬", + "exp":"d4" + } + }, + { + "ref":"p4", + "value":"p4" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d4", + "value":{ + "op":"¬", + "exp":"d4" + } + }, + { + "ref":"p4", + "value":{ + "op":"¬", + "exp":"p4" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d4", + "right":"d3" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p4", + "right":"p3" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d4", + "value":{ + "op":"¬", + "exp":"d4" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d5", + "right":"d4" + }, + "right":{ + "op":"=", + "left":"p5", + "right":"p4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d5", + "value":{ + "op":"¬", + "exp":"d5" + } + }, + { + "ref":"p5", + "value":"p5" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d5", + "value":{ + "op":"¬", + "exp":"d5" + } + }, + { + "ref":"p5", + "value":{ + "op":"¬", + "exp":"p5" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d5", + "right":"d4" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p5", + "right":"p4" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d5", + "value":{ + "op":"¬", + "exp":"d5" + } + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/beauquier7.jani b/examples/exported-jani-models/beauquier7.jani new file mode 100644 index 000000000..c004d96e2 --- /dev/null +++ b/examples/exported-jani-models/beauquier7.jani @@ -0,0 +1,1039 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"d1", + "type":"bool" + }, + { + "name":"p1", + "type":"bool" + }, + { + "name":"d2", + "type":"bool" + }, + { + "name":"p2", + "type":"bool" + }, + { + "name":"d3", + "type":"bool" + }, + { + "name":"p3", + "type":"bool" + }, + { + "name":"d4", + "type":"bool" + }, + { + "name":"p4", + "type":"bool" + }, + { + "name":"d5", + "type":"bool" + }, + { + "name":"p5", + "type":"bool" + }, + { + "name":"d6", + "type":"bool" + }, + { + "name":"p6", + "type":"bool" + }, + { + "name":"d7", + "type":"bool" + }, + { + "name":"p7", + "type":"bool" + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":true + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":"d7" + }, + "right":{ + "op":"=", + "left":"p1", + "right":"p7" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"¬", + "exp":"d1" + } + }, + { + "ref":"p1", + "value":"p1" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"¬", + "exp":"d1" + } + }, + { + "ref":"p1", + "value":{ + "op":"¬", + "exp":"p1" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":"d7" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p1", + "right":"p7" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"¬", + "exp":"d1" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":"d1" + }, + "right":{ + "op":"=", + "left":"p2", + "right":"p1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"¬", + "exp":"d2" + } + }, + { + "ref":"p2", + "value":"p2" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"¬", + "exp":"d2" + } + }, + { + "ref":"p2", + "value":{ + "op":"¬", + "exp":"p2" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":"d1" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p2", + "right":"p1" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"¬", + "exp":"d2" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":"d2" + }, + "right":{ + "op":"=", + "left":"p3", + "right":"p2" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"¬", + "exp":"d3" + } + }, + { + "ref":"p3", + "value":"p3" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"¬", + "exp":"d3" + } + }, + { + "ref":"p3", + "value":{ + "op":"¬", + "exp":"p3" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":"d2" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p3", + "right":"p2" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"¬", + "exp":"d3" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d4", + "right":"d3" + }, + "right":{ + "op":"=", + "left":"p4", + "right":"p3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d4", + "value":{ + "op":"¬", + "exp":"d4" + } + }, + { + "ref":"p4", + "value":"p4" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d4", + "value":{ + "op":"¬", + "exp":"d4" + } + }, + { + "ref":"p4", + "value":{ + "op":"¬", + "exp":"p4" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d4", + "right":"d3" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p4", + "right":"p3" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d4", + "value":{ + "op":"¬", + "exp":"d4" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d5", + "right":"d4" + }, + "right":{ + "op":"=", + "left":"p5", + "right":"p4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d5", + "value":{ + "op":"¬", + "exp":"d5" + } + }, + { + "ref":"p5", + "value":"p5" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d5", + "value":{ + "op":"¬", + "exp":"d5" + } + }, + { + "ref":"p5", + "value":{ + "op":"¬", + "exp":"p5" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d5", + "right":"d4" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p5", + "right":"p4" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d5", + "value":{ + "op":"¬", + "exp":"d5" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d6", + "right":"d5" + }, + "right":{ + "op":"=", + "left":"p6", + "right":"p5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d6", + "value":{ + "op":"¬", + "exp":"d6" + } + }, + { + "ref":"p6", + "value":"p6" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d6", + "value":{ + "op":"¬", + "exp":"d6" + } + }, + { + "ref":"p6", + "value":{ + "op":"¬", + "exp":"p6" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d6", + "right":"d5" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p6", + "right":"p5" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d6", + "value":{ + "op":"¬", + "exp":"d6" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d7", + "right":"d6" + }, + "right":{ + "op":"=", + "left":"p7", + "right":"p6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d7", + "value":{ + "op":"¬", + "exp":"d7" + } + }, + { + "ref":"p7", + "value":"p7" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d7", + "value":{ + "op":"¬", + "exp":"d7" + } + }, + { + "ref":"p7", + "value":{ + "op":"¬", + "exp":"p7" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d7", + "right":"d6" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p7", + "right":"p6" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d7", + "value":{ + "op":"¬", + "exp":"d7" + } + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/beauquier9.jani b/examples/exported-jani-models/beauquier9.jani new file mode 100644 index 000000000..b6978aa0e --- /dev/null +++ b/examples/exported-jani-models/beauquier9.jani @@ -0,0 +1,1343 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"d1", + "type":"bool" + }, + { + "name":"p1", + "type":"bool" + }, + { + "name":"d2", + "type":"bool" + }, + { + "name":"p2", + "type":"bool" + }, + { + "name":"d3", + "type":"bool" + }, + { + "name":"p3", + "type":"bool" + }, + { + "name":"d4", + "type":"bool" + }, + { + "name":"p4", + "type":"bool" + }, + { + "name":"d5", + "type":"bool" + }, + { + "name":"p5", + "type":"bool" + }, + { + "name":"d6", + "type":"bool" + }, + { + "name":"p6", + "type":"bool" + }, + { + "name":"d7", + "type":"bool" + }, + { + "name":"p7", + "type":"bool" + }, + { + "name":"d8", + "type":"bool" + }, + { + "name":"p8", + "type":"bool" + }, + { + "name":"d9", + "type":"bool" + }, + { + "name":"p9", + "type":"bool" + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":true + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":"d9" + }, + "right":{ + "op":"=", + "left":"p1", + "right":"p9" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"¬", + "exp":"d1" + } + }, + { + "ref":"p1", + "value":"p1" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"¬", + "exp":"d1" + } + }, + { + "ref":"p1", + "value":{ + "op":"¬", + "exp":"p1" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":"d9" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p1", + "right":"p9" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"¬", + "exp":"d1" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":"d1" + }, + "right":{ + "op":"=", + "left":"p2", + "right":"p1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"¬", + "exp":"d2" + } + }, + { + "ref":"p2", + "value":"p2" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"¬", + "exp":"d2" + } + }, + { + "ref":"p2", + "value":{ + "op":"¬", + "exp":"p2" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":"d1" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p2", + "right":"p1" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"¬", + "exp":"d2" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":"d2" + }, + "right":{ + "op":"=", + "left":"p3", + "right":"p2" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"¬", + "exp":"d3" + } + }, + { + "ref":"p3", + "value":"p3" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"¬", + "exp":"d3" + } + }, + { + "ref":"p3", + "value":{ + "op":"¬", + "exp":"p3" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":"d2" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p3", + "right":"p2" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"¬", + "exp":"d3" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d4", + "right":"d3" + }, + "right":{ + "op":"=", + "left":"p4", + "right":"p3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d4", + "value":{ + "op":"¬", + "exp":"d4" + } + }, + { + "ref":"p4", + "value":"p4" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d4", + "value":{ + "op":"¬", + "exp":"d4" + } + }, + { + "ref":"p4", + "value":{ + "op":"¬", + "exp":"p4" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d4", + "right":"d3" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p4", + "right":"p3" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d4", + "value":{ + "op":"¬", + "exp":"d4" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d5", + "right":"d4" + }, + "right":{ + "op":"=", + "left":"p5", + "right":"p4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d5", + "value":{ + "op":"¬", + "exp":"d5" + } + }, + { + "ref":"p5", + "value":"p5" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d5", + "value":{ + "op":"¬", + "exp":"d5" + } + }, + { + "ref":"p5", + "value":{ + "op":"¬", + "exp":"p5" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d5", + "right":"d4" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p5", + "right":"p4" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d5", + "value":{ + "op":"¬", + "exp":"d5" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d6", + "right":"d5" + }, + "right":{ + "op":"=", + "left":"p6", + "right":"p5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d6", + "value":{ + "op":"¬", + "exp":"d6" + } + }, + { + "ref":"p6", + "value":"p6" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d6", + "value":{ + "op":"¬", + "exp":"d6" + } + }, + { + "ref":"p6", + "value":{ + "op":"¬", + "exp":"p6" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d6", + "right":"d5" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p6", + "right":"p5" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d6", + "value":{ + "op":"¬", + "exp":"d6" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d7", + "right":"d6" + }, + "right":{ + "op":"=", + "left":"p7", + "right":"p6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d7", + "value":{ + "op":"¬", + "exp":"d7" + } + }, + { + "ref":"p7", + "value":"p7" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d7", + "value":{ + "op":"¬", + "exp":"d7" + } + }, + { + "ref":"p7", + "value":{ + "op":"¬", + "exp":"p7" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d7", + "right":"d6" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p7", + "right":"p6" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d7", + "value":{ + "op":"¬", + "exp":"d7" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d8", + "right":"d7" + }, + "right":{ + "op":"=", + "left":"p8", + "right":"p7" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d8", + "value":{ + "op":"¬", + "exp":"d8" + } + }, + { + "ref":"p8", + "value":"p8" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d8", + "value":{ + "op":"¬", + "exp":"d8" + } + }, + { + "ref":"p8", + "value":{ + "op":"¬", + "exp":"p8" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d8", + "right":"d7" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p8", + "right":"p7" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d8", + "value":{ + "op":"¬", + "exp":"d8" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d9", + "right":"d8" + }, + "right":{ + "op":"=", + "left":"p9", + "right":"p8" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d9", + "value":{ + "op":"¬", + "exp":"d9" + } + }, + { + "ref":"p9", + "value":"p9" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"d9", + "value":{ + "op":"¬", + "exp":"d9" + } + }, + { + "ref":"p9", + "value":{ + "op":"¬", + "exp":"p9" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d9", + "right":"d8" + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"p9", + "right":"p8" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d9", + "value":{ + "op":"¬", + "exp":"d9" + } + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/brp.jani b/examples/exported-jani-models/brp.jani new file mode 100644 index 000000000..d921efbf6 --- /dev/null +++ b/examples/exported-jani-models/brp.jani @@ -0,0 +1,1676 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"NewFile" + }, + { + "name":"aF" + }, + { + "name":"aB" + }, + { + "name":"TO_Msg" + }, + { + "name":"TO_Ack" + }, + { + "name":"tau__" + }, + { + "name":"SyncWait" + }, + { + "name":"aG" + }, + { + "name":"aA" + } + ], + "constants":[ + { + "name":"N", + "type":"int" + }, + { + "name":"MAX", + "type":"int" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"srep", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"nrtr", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"MAX" + } + }, + { + "name":"i", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"bs", + "type":"bool" + }, + { + "name":"s_ab", + "type":"bool" + }, + { + "name":"fs", + "type":"bool" + }, + { + "name":"ls", + "type":"bool" + }, + { + "name":"r", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"rrep", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"fr", + "type":"bool" + }, + { + "name":"lr", + "type":"bool" + }, + { + "name":"br", + "type":"bool" + }, + { + "name":"r_ab", + "type":"bool" + }, + { + "name":"recv", + "type":"bool" + }, + { + "name":"T", + "type":"bool" + }, + { + "name":"k", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"l", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":0 + }, + "right":{ + "op":"=", + "left":"srep", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"nrtr", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"i", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bs", + "right":false + } + }, + "right":{ + "op":"=", + "left":"s_ab", + "right":false + } + }, + "right":{ + "op":"=", + "left":"fs", + "right":false + } + }, + "right":{ + "op":"=", + "left":"ls", + "right":false + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"rrep", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"fr", + "right":false + } + }, + "right":{ + "op":"=", + "left":"lr", + "right":false + } + }, + "right":{ + "op":"=", + "left":"br", + "right":false + } + }, + "right":{ + "op":"=", + "left":"r_ab", + "right":false + } + }, + "right":{ + "op":"=", + "left":"recv", + "right":false + } + }, + "right":{ + "op":"=", + "left":"T", + "right":false + } + }, + "right":{ + "op":"=", + "left":"k", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"l", + "right":0 + } + } + }, + "automata":[ + { + "name":"sender", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"NewFile", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"i", + "value":1 + }, + { + "ref":"srep", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"aF", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + }, + { + "ref":"fs", + "value":{ + "op":"=", + "left":"i", + "right":1 + } + }, + { + "ref":"ls", + "value":{ + "op":"=", + "left":"i", + "right":"N" + } + }, + { + "ref":"bs", + "value":"s_ab" + }, + { + "ref":"nrtr", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"i", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"aB", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":4 + }, + { + "ref":"s_ab", + "value":{ + "op":"¬", + "exp":"s_ab" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"TO_Msg", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"TO_Ack", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"aF", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"<", + "left":"nrtr", + "right":"MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + }, + { + "ref":"fs", + "value":{ + "op":"=", + "left":"i", + "right":1 + } + }, + { + "ref":"ls", + "value":{ + "op":"=", + "left":"i", + "right":"N" + } + }, + { + "ref":"bs", + "value":"s_ab" + }, + { + "ref":"nrtr", + "value":{ + "op":"+", + "left":"nrtr", + "right":1 + } + } + ], + "observables":[ + { + "ref":"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"i", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"nrtr", + "right":"MAX" + } + }, + "right":{ + "op":"<", + "left":"i", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":5 + }, + { + "ref":"srep", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"nrtr", + "right":"MAX" + } + }, + "right":{ + "op":"=", + "left":"i", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":5 + }, + { + "ref":"srep", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"<", + "left":"i", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"i", + "value":{ + "op":"+", + "left":"i", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"i", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":0 + }, + { + "ref":"srep", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"SyncWait", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"SyncWait", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":0 + }, + { + "ref":"s_ab", + "value":false + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"receiver", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"SyncWait", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"aG", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"fr", + "value":"fs" + }, + { + "ref":"lr", + "value":"ls" + }, + { + "ref":"br", + "value":"bs" + }, + { + "ref":"recv", + "value":"T" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"r_ab", + "value":"br" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"r", + "right":2 + }, + "right":{ + "op":"=", + "left":"r_ab", + "right":"br" + } + }, + "right":{ + "op":"=", + "left":"fr", + "right":true + } + }, + "right":{ + "op":"=", + "left":"lr", + "right":false + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":3 + }, + { + "ref":"rrep", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"r", + "right":2 + }, + "right":{ + "op":"=", + "left":"r_ab", + "right":"br" + } + }, + "right":{ + "op":"=", + "left":"fr", + "right":false + } + }, + "right":{ + "op":"=", + "left":"lr", + "right":false + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":3 + }, + { + "ref":"rrep", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"r", + "right":2 + }, + "right":{ + "op":"=", + "left":"r_ab", + "right":"br" + } + }, + "right":{ + "op":"=", + "left":"fr", + "right":false + } + }, + "right":{ + "op":"=", + "left":"lr", + "right":true + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":3 + }, + { + "ref":"rrep", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"aA", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"r", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"r_ab", + "right":"br" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"aA", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":4 + }, + { + "ref":"r_ab", + "value":{ + "op":"¬", + "exp":"r_ab" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"aG", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"fr", + "value":"fs" + }, + { + "ref":"lr", + "value":"ls" + }, + { + "ref":"br", + "value":"bs" + }, + { + "ref":"recv", + "value":"T" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"SyncWait", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"r", + "right":4 + }, + "right":{ + "op":"=", + "left":"ls", + "right":true + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"SyncWait", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"r", + "right":4 + }, + "right":{ + "op":"=", + "left":"ls", + "right":false + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":5 + }, + { + "ref":"rrep", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"SyncWait", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":0 + }, + { + "ref":"rrep", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"checker", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"NewFile", + "guard":{ + "exp":{ + "op":"=", + "left":"T", + "right":false + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"T", + "value":true + } + ] + } + ] + } + ] + }, + { + "name":"channelK", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"aF", + "guard":{ + "exp":{ + "op":"=", + "left":"k", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.9800000 + }, + "location":"location", + "assignments":[ + { + "ref":"k", + "value":1 + } + ] + }, + { + "probability":{ + "exp":0.0200000 + }, + "location":"location", + "assignments":[ + { + "ref":"k", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"aG", + "guard":{ + "exp":{ + "op":"=", + "left":"k", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"k", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"TO_Msg", + "guard":{ + "exp":{ + "op":"=", + "left":"k", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"k", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"channelL", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"aA", + "guard":{ + "exp":{ + "op":"=", + "left":"l", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.9900000 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":1 + } + ] + }, + { + "probability":{ + "exp":0.0100000 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"aB", + "guard":{ + "exp":{ + "op":"=", + "left":"l", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"TO_Ack", + "guard":{ + "exp":{ + "op":"=", + "left":"l", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"sender" + }, + { + "automaton":"receiver" + }, + { + "automaton":"checker" + }, + { + "automaton":"channelK" + }, + { + "automaton":"channelL" + } + ], + "syncs":[ + { + "synchronise":[ + "aB", + null, + null, + null, + "aB" + ], + "result":"aB" + }, + { + "synchronise":[ + "TO_Ack", + null, + null, + null, + "TO_Ack" + ], + "result":"TO_Ack" + }, + { + "synchronise":[ + null, + "aA", + null, + null, + "aA" + ], + "result":"aA" + }, + { + "synchronise":[ + "aF", + null, + null, + "aF", + null + ], + "result":"aF" + }, + { + "synchronise":[ + "TO_Msg", + null, + null, + "TO_Msg", + null + ], + "result":"TO_Msg" + }, + { + "synchronise":[ + null, + "aG", + null, + "aG", + null + ], + "result":"aG" + }, + { + "synchronise":[ + "NewFile", + null, + "NewFile", + null, + null + ], + "result":"NewFile" + }, + { + "synchronise":[ + "SyncWait", + "SyncWait", + null, + null, + null + ], + "result":"SyncWait" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/byzantine4_1.jani b/examples/exported-jani-models/byzantine4_1.jani new file mode 100644 index 000000000..49c6eab68 --- /dev/null +++ b/examples/exported-jani-models/byzantine4_1.jani @@ -0,0 +1,3081 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"n0", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"main1_0", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"main1_1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"main1_abs", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pre1_0", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"pre1_1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"pre2_0", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pre2_1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"main0_0", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"main0_1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"f1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":9 + } + }, + { + "name":"f2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":9 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":9 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"n0", + "right":0 + }, + "right":{ + "op":"=", + "left":"main1_0", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"main1_1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"main1_abs", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pre1_0", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pre1_1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pre2_0", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pre2_1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"main0_0", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"main0_1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + } + }, + "automata":[ + { + "name":"adversary", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"main0_0", + "right":0 + }, + "right":{ + "op":"=", + "left":"main0_1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"main0_0", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"main0_0", + "right":0 + }, + "right":{ + "op":"=", + "left":"main0_1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"main0_1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"coin1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"coin1", + "right":0 + }, + "right":{ + "op":"≥", + "left":"n0", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"f1", + "value":0 + }, + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"f1", + "value":1 + }, + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"party1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":"=", + "left":"main0_0", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"n0", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"n0", + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":"=", + "left":"main0_1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"n0", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"n0", + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"n0", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"n0", + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"pre1_0", + "value":{ + "op":"+", + "left":"pre1_0", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"pre1_1", + "value":{ + "op":"+", + "left":"pre1_1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"pre1_0", + "value":{ + "op":"+", + "left":"pre1_0", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"pre1_1", + "value":{ + "op":"+", + "left":"pre1_1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":4 + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"pre1_0", + "right":"pre1_1" + }, + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":">", + "left":"pre1_0", + "right":0 + }, + "right":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"main0_0", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":">", + "left":"pre1_1", + "right":0 + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"main0_1", + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"main1_abs", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":4 + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"pre1_0", + "right":"pre1_1" + }, + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"pre1_0", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"main1_0", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":4 + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"pre1_0", + "right":"pre1_1" + }, + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"pre1_1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"main1_1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"main1_abs", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"main1_0", + "right":1 + }, + "right":{ + "op":"≥", + "left":"pre1_0", + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"main1_1", + "right":1 + }, + "right":{ + "op":"≥", + "left":"pre1_1", + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"pre2_0", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"pre2_1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"pre2_0", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"pre2_1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"coin2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"coin2", + "right":0 + }, + "right":{ + "op":"≥", + "left":"n0", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"f2", + "value":0 + }, + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"f2", + "value":1 + }, + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"party2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":"=", + "left":"main0_0", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"n0", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"n0", + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":"=", + "left":"main0_1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"n0", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"n0", + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"n0", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"n0", + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"pre1_0", + "value":{ + "op":"+", + "left":"pre1_0", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"pre1_1", + "value":{ + "op":"+", + "left":"pre1_1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"pre1_0", + "value":{ + "op":"+", + "left":"pre1_0", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"pre1_1", + "value":{ + "op":"+", + "left":"pre1_1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":4 + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"pre1_0", + "right":"pre1_1" + }, + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":">", + "left":"pre1_0", + "right":0 + }, + "right":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"main0_0", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":">", + "left":"pre1_1", + "right":0 + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"main0_1", + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"main1_abs", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":4 + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"pre1_0", + "right":"pre1_1" + }, + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"pre1_0", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"main1_0", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":4 + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"pre1_0", + "right":"pre1_1" + }, + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"pre1_1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"main1_1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"main1_abs", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"main1_0", + "right":1 + }, + "right":{ + "op":"≥", + "left":"pre1_0", + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"main1_1", + "right":1 + }, + "right":{ + "op":"≥", + "left":"pre1_1", + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"pre2_0", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"pre2_1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"pre2_0", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"pre2_1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"party3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":"=", + "left":"main0_0", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"n0", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"n0", + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":"=", + "left":"main0_1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"n0", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"n0", + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"n0", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"n0", + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"pre1_0", + "value":{ + "op":"+", + "left":"pre1_0", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"pre1_1", + "value":{ + "op":"+", + "left":"pre1_1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"pre1_0", + "value":{ + "op":"+", + "left":"pre1_0", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"pre1_1", + "value":{ + "op":"+", + "left":"pre1_1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":4 + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"pre1_0", + "right":"pre1_1" + }, + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":">", + "left":"pre1_0", + "right":0 + }, + "right":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"main0_0", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":">", + "left":"pre1_1", + "right":0 + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"main0_1", + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":5 + }, + { + "ref":"main1_abs", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":4 + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"pre1_0", + "right":"pre1_1" + }, + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"pre1_0", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":5 + }, + { + "ref":"main1_0", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":4 + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"pre1_0", + "right":"pre1_1" + }, + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"pre1_1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":5 + }, + { + "ref":"main1_1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":5 + }, + "right":{ + "op":"=", + "left":"main1_abs", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"main1_0", + "right":1 + }, + "right":{ + "op":"≥", + "left":"pre1_0", + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"main1_1", + "right":1 + }, + "right":{ + "op":"≥", + "left":"pre1_1", + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":6 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":9 + }, + { + "ref":"pre2_0", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":6 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":9 + }, + { + "ref":"pre2_1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":7 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":9 + }, + { + "ref":"pre2_0", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":8 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":9 + }, + { + "ref":"pre2_1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"adversary" + }, + { + "automaton":"coin1" + }, + { + "automaton":"party1" + }, + { + "automaton":"coin2" + }, + { + "automaton":"party2" + }, + { + "automaton":"party3" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/cc_edf.jani b/examples/exported-jani-models/cc_edf.jani new file mode 100644 index 000000000..3efd20c61 --- /dev/null +++ b/examples/exported-jani-models/cc_edf.jani @@ -0,0 +1,13978 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"step1" + }, + { + "name":"step2" + }, + { + "name":"step3" + }, + { + "name":"step" + } + ], + "variables":[ + { + "name":"d1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + { + "name":"f1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"w1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + } + } + }, + { + "name":"t1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":3, + "right":3 + } + } + }, + { + "name":"u1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":3, + "right":3 + } + } + }, + { + "name":"d2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + { + "name":"f2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"w2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + } + } + }, + { + "name":"t2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":3, + "right":3 + } + } + }, + { + "name":"u2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":3, + "right":3 + } + } + }, + { + "name":"d3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + { + "name":"f3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"w3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + } + } + }, + { + "name":"t3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":1, + "right":3 + } + } + }, + { + "name":"u3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":1, + "right":3 + } + } + } + ], + "observables":[ + { + "name":"\"power\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"w1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":{ + "op":"*", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"=", + "left":"d2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"w2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":{ + "op":"*", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"=", + "left":"d3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"w3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":{ + "op":"*", + "left":1, + "right":3 + } + } + } + }, + "automata":[ + { + "name":"task1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d2" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d3" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":4, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w1" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + }, + { + "ref":"w1", + "value":{ + "op":"+", + "left":"w1", + "right":4 + } + }, + { + "ref":"t1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t1", + "right":1 + }, + "right":{ + "op":"*", + "left":3, + "right":3 + } + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":4, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w1" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + }, + { + "ref":"t1", + "value":0 + }, + { + "ref":"f1", + "value":1 + }, + { + "ref":"w1", + "value":0 + }, + { + "ref":"u1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t1", + "right":1 + }, + "right":{ + "op":"*", + "left":3, + "right":3 + } + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d2" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d3" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":4, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w1" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":4, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w1" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"*", + "left":8, + "right":3 + } + }, + { + "ref":"t1", + "value":0 + }, + { + "ref":"f1", + "value":0 + }, + { + "ref":"w1", + "value":0 + }, + { + "ref":"u1", + "value":{ + "op":"*", + "left":3, + "right":3 + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d2" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d3" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":">", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":3, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w1" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + }, + { + "ref":"w1", + "value":{ + "op":"+", + "left":"w1", + "right":3 + } + }, + { + "ref":"t1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t1", + "right":1 + }, + "right":{ + "op":"*", + "left":3, + "right":3 + } + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":3, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w1" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + }, + { + "ref":"t1", + "value":0 + }, + { + "ref":"f1", + "value":1 + }, + { + "ref":"w1", + "value":0 + }, + { + "ref":"u1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t1", + "right":1 + }, + "right":{ + "op":"*", + "left":3, + "right":3 + } + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d2" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d3" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"=", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":3, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w1" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":3, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w1" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"*", + "left":8, + "right":3 + } + }, + { + "ref":"t1", + "value":0 + }, + { + "ref":"f1", + "value":0 + }, + { + "ref":"w1", + "value":0 + }, + { + "ref":"u1", + "value":{ + "op":"*", + "left":3, + "right":3 + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d2" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d3" + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":">", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w1" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + }, + { + "ref":"w1", + "value":{ + "op":"+", + "left":"w1", + "right":2 + } + }, + { + "ref":"t1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t1", + "right":1 + }, + "right":{ + "op":"*", + "left":3, + "right":3 + } + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w1" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + }, + { + "ref":"t1", + "value":0 + }, + { + "ref":"f1", + "value":1 + }, + { + "ref":"w1", + "value":0 + }, + { + "ref":"u1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t1", + "right":1 + }, + "right":{ + "op":"*", + "left":3, + "right":3 + } + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d2" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d3" + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w1" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w1" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"*", + "left":8, + "right":3 + } + }, + { + "ref":"t1", + "value":0 + }, + { + "ref":"f1", + "value":0 + }, + { + "ref":"w1", + "value":0 + }, + { + "ref":"u1", + "value":{ + "op":"*", + "left":3, + "right":3 + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":">", + "left":"d1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"*", + "left":8, + "right":3 + } + }, + { + "ref":"f1", + "value":0 + }, + { + "ref":"u1", + "value":{ + "op":"*", + "left":3, + "right":3 + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"f1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":">", + "left":"d1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"*", + "left":8, + "right":3 + } + }, + { + "ref":"f1", + "value":0 + }, + { + "ref":"u1", + "value":{ + "op":"*", + "left":3, + "right":3 + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"f1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + }, + "right":{ + "op":">", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"*", + "left":8, + "right":3 + } + }, + { + "ref":"f1", + "value":0 + }, + { + "ref":"u1", + "value":{ + "op":"*", + "left":3, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"task2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d3" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d1" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":4, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w2" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + }, + { + "ref":"w2", + "value":{ + "op":"+", + "left":"w2", + "right":4 + } + }, + { + "ref":"t2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t2", + "right":1 + }, + "right":{ + "op":"*", + "left":3, + "right":3 + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":4, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w2" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + }, + { + "ref":"t2", + "value":0 + }, + { + "ref":"f2", + "value":1 + }, + { + "ref":"w2", + "value":0 + }, + { + "ref":"u2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t2", + "right":1 + }, + "right":{ + "op":"*", + "left":3, + "right":3 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d3" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d1" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":4, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w2" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f2", + "value":2 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":4, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w2" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"*", + "left":10, + "right":3 + } + }, + { + "ref":"t2", + "value":0 + }, + { + "ref":"f2", + "value":0 + }, + { + "ref":"w2", + "value":0 + }, + { + "ref":"u2", + "value":{ + "op":"*", + "left":3, + "right":3 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d3" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d1" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":">", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":3, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w2" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + }, + { + "ref":"w2", + "value":{ + "op":"+", + "left":"w2", + "right":3 + } + }, + { + "ref":"t2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t2", + "right":1 + }, + "right":{ + "op":"*", + "left":3, + "right":3 + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":3, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w2" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + }, + { + "ref":"t2", + "value":0 + }, + { + "ref":"f2", + "value":1 + }, + { + "ref":"w2", + "value":0 + }, + { + "ref":"u2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t2", + "right":1 + }, + "right":{ + "op":"*", + "left":3, + "right":3 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d3" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d1" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"=", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":3, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w2" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f2", + "value":2 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":3, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w2" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"*", + "left":10, + "right":3 + } + }, + { + "ref":"t2", + "value":0 + }, + { + "ref":"f2", + "value":0 + }, + { + "ref":"w2", + "value":0 + }, + { + "ref":"u2", + "value":{ + "op":"*", + "left":3, + "right":3 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d3" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d1" + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":">", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w2" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + }, + { + "ref":"w2", + "value":{ + "op":"+", + "left":"w2", + "right":2 + } + }, + { + "ref":"t2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t2", + "right":1 + }, + "right":{ + "op":"*", + "left":3, + "right":3 + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w2" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + }, + { + "ref":"t2", + "value":0 + }, + { + "ref":"f2", + "value":1 + }, + { + "ref":"w2", + "value":0 + }, + { + "ref":"u2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t2", + "right":1 + }, + "right":{ + "op":"*", + "left":3, + "right":3 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d3" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d1" + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w2" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f2", + "value":2 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w2" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"*", + "left":10, + "right":3 + } + }, + { + "ref":"t2", + "value":0 + }, + { + "ref":"f2", + "value":0 + }, + { + "ref":"w2", + "value":0 + }, + { + "ref":"u2", + "value":{ + "op":"*", + "left":3, + "right":3 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":">", + "left":"d2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"*", + "left":10, + "right":3 + } + }, + { + "ref":"f2", + "value":0 + }, + { + "ref":"u2", + "value":{ + "op":"*", + "left":3, + "right":3 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"f2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":">", + "left":"d2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"*", + "left":10, + "right":3 + } + }, + { + "ref":"f2", + "value":0 + }, + { + "ref":"u2", + "value":{ + "op":"*", + "left":3, + "right":3 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"f2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":1 + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":1 + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"*", + "left":10, + "right":3 + } + }, + { + "ref":"f2", + "value":0 + }, + { + "ref":"u2", + "value":{ + "op":"*", + "left":3, + "right":3 + } + } + ] + } + ] + } + ] + }, + { + "name":"task3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d1" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d2" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":4, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w3" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + }, + { + "ref":"w3", + "value":{ + "op":"+", + "left":"w3", + "right":4 + } + }, + { + "ref":"t3", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t3", + "right":1 + }, + "right":{ + "op":"*", + "left":1, + "right":3 + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":4, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w3" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + }, + { + "ref":"t3", + "value":0 + }, + { + "ref":"f3", + "value":1 + }, + { + "ref":"w3", + "value":0 + }, + { + "ref":"u3", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t3", + "right":1 + }, + "right":{ + "op":"*", + "left":1, + "right":3 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d1" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d2" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":4, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w3" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f3", + "value":2 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":4, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w3" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"*", + "left":14, + "right":3 + } + }, + { + "ref":"t3", + "value":0 + }, + { + "ref":"f3", + "value":0 + }, + { + "ref":"w3", + "value":0 + }, + { + "ref":"u3", + "value":{ + "op":"*", + "left":1, + "right":3 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d1" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d2" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":">", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":3, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w3" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + }, + { + "ref":"w3", + "value":{ + "op":"+", + "left":"w3", + "right":3 + } + }, + { + "ref":"t3", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t3", + "right":1 + }, + "right":{ + "op":"*", + "left":1, + "right":3 + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":3, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w3" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + }, + { + "ref":"t3", + "value":0 + }, + { + "ref":"f3", + "value":1 + }, + { + "ref":"w3", + "value":0 + }, + { + "ref":"u3", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t3", + "right":1 + }, + "right":{ + "op":"*", + "left":1, + "right":3 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d1" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d2" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"=", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":3, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w3" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f3", + "value":2 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":3, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w3" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"*", + "left":14, + "right":3 + } + }, + { + "ref":"t3", + "value":0 + }, + { + "ref":"f3", + "value":0 + }, + { + "ref":"w3", + "value":0 + }, + { + "ref":"u3", + "value":{ + "op":"*", + "left":1, + "right":3 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d1" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d2" + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":">", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w3" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + }, + { + "ref":"w3", + "value":{ + "op":"+", + "left":"w3", + "right":2 + } + }, + { + "ref":"t3", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t3", + "right":1 + }, + "right":{ + "op":"*", + "left":1, + "right":3 + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w3" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + }, + { + "ref":"t3", + "value":0 + }, + { + "ref":"f3", + "value":1 + }, + { + "ref":"w3", + "value":0 + }, + { + "ref":"u3", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t3", + "right":1 + }, + "right":{ + "op":"*", + "left":1, + "right":3 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d1" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d2" + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"u3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":"u1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":"u2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w3" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f3", + "value":2 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"w3" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"*", + "left":14, + "right":3 + } + }, + { + "ref":"t3", + "value":0 + }, + { + "ref":"f3", + "value":0 + }, + { + "ref":"w3", + "value":0 + }, + { + "ref":"u3", + "value":{ + "op":"*", + "left":1, + "right":3 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":">", + "left":"d3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":1 + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"*", + "left":14, + "right":3 + } + }, + { + "ref":"f3", + "value":0 + }, + { + "ref":"u3", + "value":{ + "op":"*", + "left":1, + "right":3 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":1 + }, + "right":{ + "op":"=", + "left":"f3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"f3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":">", + "left":"d3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":1 + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"*", + "left":14, + "right":3 + } + }, + { + "ref":"f3", + "value":0 + }, + { + "ref":"u3", + "value":{ + "op":"*", + "left":1, + "right":3 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":1 + }, + "right":{ + "op":"=", + "left":"f3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"f3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":1 + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":1 + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"*", + "left":14, + "right":3 + } + }, + { + "ref":"f3", + "value":0 + }, + { + "ref":"u3", + "value":{ + "op":"*", + "left":1, + "right":3 + } + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"task1" + }, + { + "automaton":"task2" + }, + { + "automaton":"task3" + } + ], + "syncs":[ + { + "synchronise":[ + "step1", + "step1", + "step1" + ], + "result":"step1" + }, + { + "synchronise":[ + "step2", + "step2", + "step2" + ], + "result":"step2" + }, + { + "synchronise":[ + "step3", + "step3", + "step3" + ], + "result":"step3" + }, + { + "synchronise":[ + "step", + "step", + "step" + ], + "result":"step" + } + ] + } +} diff --git a/examples/exported-jani-models/cell.jani b/examples/exported-jani-models/cell.jani new file mode 100644 index 000000000..cd737e0d5 --- /dev/null +++ b/examples/exported-jani-models/cell.jani @@ -0,0 +1,209 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"N", + "type":"int" + } + ], + "variables":[ + { + "name":"n", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + } + ], + "observables":[ + { + "name":"\"calls\"" + } + ], + "initial-states":{ + "exp":{ + "op":"=", + "left":"n", + "right":0 + } + }, + "automata":[ + { + "name":"cell", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"calls\"", + "value":"n" + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":49 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"n", + "right":{ + "op":"*", + "left":"N", + "right":0.8000000 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":49, + "right":49 + } + }, + "location":"location", + "assignments":[ + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":21 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"n", + "right":"N" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":21, + "right":21 + } + }, + "location":"location", + "assignments":[ + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":"n", + "right":1 + } + }, + "guard":{ + "exp":{ + "op":">", + "left":"n", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":"n", + "right":1 + }, + "right":{ + "op":"*", + "left":"n", + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"n", + "value":{ + "op":"-", + "left":"n", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"cell" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/circadian.jani b/examples/exported-jani-models/circadian.jani new file mode 100644 index 000000000..c9a6b8d53 --- /dev/null +++ b/examples/exported-jani-models/circadian.jani @@ -0,0 +1,2023 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"transc_da" + }, + { + "name":"transc_da_a" + }, + { + "name":"bind_a" + }, + { + "name":"rel_a" + }, + { + "name":"transl_a" + }, + { + "name":"deg_ma" + }, + { + "name":"bind_r" + }, + { + "name":"rel_r" + }, + { + "name":"deg_a" + }, + { + "name":"deactive" + }, + { + "name":"transl_r" + }, + { + "name":"deg_r" + }, + { + "name":"deg_c" + }, + { + "name":"transc_dr" + }, + { + "name":"transc_dr_a" + }, + { + "name":"deg_mr" + } + ], + "variables":[ + { + "name":"da", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"da_a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"maa", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1000000 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1000000 + } + }, + { + "name":"r", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1000000 + } + }, + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1000000 + } + }, + { + "name":"dr", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"dr_a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"mr", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1000000 + } + } + ], + "observables":[ + { + "name":"\"activated_protein\"" + }, + { + "name":"\"repressor_transcriptions\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"da", + "right":1 + }, + "right":{ + "op":"=", + "left":"da_a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"maa", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"dr", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"dr_a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"mr", + "right":0 + } + } + }, + "automata":[ + { + "name":"activator_gene", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"activated_protein\"", + "value":"a" + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"transc_da", + "rate":{ + "exp":"da" + }, + "guard":{ + "exp":{ + "op":"=", + "left":"da", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"da", + "right":"da" + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"transc_da_a", + "rate":{ + "exp":"da_a" + }, + "guard":{ + "exp":{ + "op":"=", + "left":"da_a", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"da_a", + "right":"da_a" + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"bind_a", + "rate":{ + "exp":"da" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"da", + "right":1 + }, + "right":{ + "op":"=", + "left":"da_a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"da", + "right":"da" + } + }, + "location":"location", + "assignments":[ + { + "ref":"da", + "value":0 + }, + { + "ref":"da_a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rel_a", + "rate":{ + "exp":"da_a" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"da", + "right":0 + }, + "right":{ + "op":"=", + "left":"da_a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"da_a", + "right":"da_a" + } + }, + "location":"location", + "assignments":[ + { + "ref":"da", + "value":1 + }, + { + "ref":"da_a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"activator_mRNA", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"transc_da", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"maa", + "right":1000000 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"maa", + "value":{ + "op":"+", + "left":"maa", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"transc_da_a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"maa", + "right":1000000 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"maa", + "value":{ + "op":"+", + "left":"maa", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"transl_a", + "rate":{ + "exp":"maa" + }, + "guard":{ + "exp":{ + "op":">", + "left":"maa", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"maa", + "right":"maa" + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"deg_ma", + "rate":{ + "exp":"maa" + }, + "guard":{ + "exp":{ + "op":">", + "left":"maa", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"maa", + "right":"maa" + } + }, + "location":"location", + "assignments":[ + { + "ref":"maa", + "value":{ + "op":"-", + "left":"maa", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"activator_protein", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"transl_a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"a", + "right":1000000 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":{ + "op":"+", + "left":"a", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"bind_a", + "rate":{ + "exp":"a" + }, + "guard":{ + "exp":{ + "op":">", + "left":"a", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"a", + "right":"a" + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":{ + "op":"-", + "left":"a", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"bind_r", + "rate":{ + "exp":"a" + }, + "guard":{ + "exp":{ + "op":">", + "left":"a", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"a", + "right":"a" + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":{ + "op":"-", + "left":"a", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rel_a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"a", + "right":1000000 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":{ + "op":"+", + "left":"a", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"rel_r", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"a", + "right":1000000 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":{ + "op":"+", + "left":"a", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"deg_a", + "rate":{ + "exp":"a" + }, + "guard":{ + "exp":{ + "op":">", + "left":"a", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"a", + "right":"a" + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":{ + "op":"-", + "left":"a", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"deactive", + "rate":{ + "exp":"a" + }, + "guard":{ + "exp":{ + "op":">", + "left":"a", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"a", + "right":"a" + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":{ + "op":"-", + "left":"a", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"repressor_protein", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"transl_r", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"r", + "right":1000000 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":{ + "op":"+", + "left":"r", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"deg_r", + "rate":{ + "exp":"r" + }, + "guard":{ + "exp":{ + "op":">", + "left":"r", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"r", + "right":"r" + } + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":{ + "op":"-", + "left":"r", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"deactive", + "rate":{ + "exp":"r" + }, + "guard":{ + "exp":{ + "op":">", + "left":"r", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"r", + "right":"r" + } + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":{ + "op":"-", + "left":"r", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"deg_c", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"r", + "right":1000000 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":{ + "op":"+", + "left":"r", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"inactive_protein", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"deactive", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":1000000 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"deg_c", + "rate":{ + "exp":"c" + }, + "guard":{ + "exp":{ + "op":">", + "left":"c", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"c", + "right":"c" + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"-", + "left":"c", + "right":1 + } + } + ] + } + ] + } + ] + }, + { + "name":"rates", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"transc_da", + "rate":{ + "exp":50 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":50, + "right":50 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"transc_da_a", + "rate":{ + "exp":500 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":500, + "right":500 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"transc_dr", + "rate":{ + "exp":0.0100000 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0100000, + "right":0.0100000 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"repressor_transcriptions\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"transc_dr_a", + "rate":{ + "exp":50 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":50, + "right":50 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"repressor_transcriptions\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"transl_a", + "rate":{ + "exp":50 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":50, + "right":50 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"transl_r", + "rate":{ + "exp":5 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":5, + "right":5 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"bind_a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"bind_r", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"deactive", + "rate":{ + "exp":2 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":2, + "right":2 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"rel_a", + "rate":{ + "exp":50 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":50, + "right":50 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"rel_r", + "rate":{ + "exp":100 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":100, + "right":100 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"deg_a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"deg_c", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"deg_r", + "rate":{ + "exp":0.2000000 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.2000000, + "right":0.2000000 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"deg_ma", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"deg_mr", + "rate":{ + "exp":0.5000000 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.5000000, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"repressor_gene", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"transc_dr", + "rate":{ + "exp":"dr" + }, + "guard":{ + "exp":{ + "op":"=", + "left":"dr", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"dr", + "right":"dr" + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"transc_dr_a", + "rate":{ + "exp":"dr_a" + }, + "guard":{ + "exp":{ + "op":"=", + "left":"dr_a", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"dr_a", + "right":"dr_a" + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"bind_r", + "rate":{ + "exp":"dr" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"dr", + "right":1 + }, + "right":{ + "op":"=", + "left":"dr_a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"dr", + "right":"dr" + } + }, + "location":"location", + "assignments":[ + { + "ref":"dr", + "value":0 + }, + { + "ref":"dr_a", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"rel_r", + "rate":{ + "exp":"dr_a" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"dr", + "right":0 + }, + "right":{ + "op":"=", + "left":"dr_a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"dr_a", + "right":"dr_a" + } + }, + "location":"location", + "assignments":[ + { + "ref":"dr", + "value":1 + }, + { + "ref":"dr_a", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"repressor_mRNA", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"transc_dr", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"mr", + "right":1000000 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"mr", + "value":{ + "op":"+", + "left":"mr", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"transc_dr_a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"mr", + "right":1000000 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"mr", + "value":{ + "op":"+", + "left":"mr", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"transl_r", + "rate":{ + "exp":"mr" + }, + "guard":{ + "exp":{ + "op":">", + "left":"mr", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"mr", + "right":"mr" + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"deg_mr", + "rate":{ + "exp":"mr" + }, + "guard":{ + "exp":{ + "op":">", + "left":"mr", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"mr", + "right":"mr" + } + }, + "location":"location", + "assignments":[ + { + "ref":"mr", + "value":{ + "op":"-", + "left":"mr", + "right":1 + } + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"activator_gene" + }, + { + "automaton":"activator_mRNA" + }, + { + "automaton":"activator_protein" + }, + { + "automaton":"repressor_protein" + }, + { + "automaton":"inactive_protein" + }, + { + "automaton":"rates" + }, + { + "automaton":"repressor_gene" + }, + { + "automaton":"repressor_mRNA" + } + ], + "syncs":[ + { + "synchronise":[ + null, + null, + null, + null, + null, + "transc_dr", + "transc_dr", + "transc_dr" + ], + "result":"transc_dr" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "transc_dr_a", + "transc_dr_a", + "transc_dr_a" + ], + "result":"transc_dr_a" + }, + { + "synchronise":[ + null, + null, + null, + "transl_r", + null, + "transl_r", + null, + "transl_r" + ], + "result":"transl_r" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "deg_mr", + null, + "deg_mr" + ], + "result":"deg_mr" + }, + { + "synchronise":[ + null, + null, + "bind_r", + null, + null, + "bind_r", + "bind_r", + null + ], + "result":"bind_r" + }, + { + "synchronise":[ + null, + null, + "rel_r", + null, + null, + "rel_r", + "rel_r", + null + ], + "result":"rel_r" + }, + { + "synchronise":[ + null, + null, + "deactive", + "deactive", + "deactive", + "deactive", + null, + null + ], + "result":"deactive" + }, + { + "synchronise":[ + null, + null, + null, + "deg_c", + "deg_c", + "deg_c", + null, + null + ], + "result":"deg_c" + }, + { + "synchronise":[ + "bind_a", + null, + "bind_a", + null, + null, + "bind_a", + null, + null + ], + "result":"bind_a" + }, + { + "synchronise":[ + "rel_a", + null, + "rel_a", + null, + null, + "rel_a", + null, + null + ], + "result":"rel_a" + }, + { + "synchronise":[ + null, + "transl_a", + "transl_a", + null, + null, + "transl_a", + null, + null + ], + "result":"transl_a" + }, + { + "synchronise":[ + "transc_da", + "transc_da", + null, + null, + null, + "transc_da", + null, + null + ], + "result":"transc_da" + }, + { + "synchronise":[ + "transc_da_a", + "transc_da_a", + null, + null, + null, + "transc_da_a", + null, + null + ], + "result":"transc_da_a" + }, + { + "synchronise":[ + null, + "deg_ma", + null, + null, + null, + "deg_ma", + null, + null + ], + "result":"deg_ma" + }, + { + "synchronise":[ + null, + null, + "deg_a", + null, + null, + "deg_a", + null, + null + ], + "result":"deg_a" + }, + { + "synchronise":[ + null, + null, + null, + "deg_r", + null, + "deg_r", + null, + null + ], + "result":"deg_r" + } + ] + } +} diff --git a/examples/exported-jani-models/cluster.jani b/examples/exported-jani-models/cluster.jani new file mode 100644 index 000000000..3ad187634 --- /dev/null +++ b/examples/exported-jani-models/cluster.jani @@ -0,0 +1,1556 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"startLeft" + }, + { + "name":"repairLeft" + }, + { + "name":"tau__" + }, + { + "name":"startRight" + }, + { + "name":"startToLeft" + }, + { + "name":"startToRight" + }, + { + "name":"startLine" + }, + { + "name":"repairRight" + }, + { + "name":"repairToLeft" + }, + { + "name":"repairToRight" + }, + { + "name":"repairLine" + } + ], + "constants":[ + { + "name":"N", + "type":"int" + } + ], + "variables":[ + { + "name":"left_n", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"left", + "type":"bool" + }, + { + "name":"r", + "type":"bool" + }, + { + "name":"line", + "type":"bool" + }, + { + "name":"line_n", + "type":"bool" + }, + { + "name":"right_n", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"right", + "type":"bool" + }, + { + "name":"toleft", + "type":"bool" + }, + { + "name":"toleft_n", + "type":"bool" + }, + { + "name":"toright", + "type":"bool" + }, + { + "name":"toright_n", + "type":"bool" + } + ], + "observables":[ + { + "name":"\"percent_op\"" + }, + { + "name":"\"time_not_min\"" + }, + { + "name":"\"num_repairs\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"left_n", + "right":"N" + }, + "right":{ + "op":"=", + "left":"left", + "right":false + } + }, + "right":{ + "op":"=", + "left":"r", + "right":false + } + }, + "right":{ + "op":"=", + "left":"line", + "right":false + } + }, + "right":{ + "op":"=", + "left":"line_n", + "right":true + } + }, + "right":{ + "op":"=", + "left":"right_n", + "right":"N" + } + }, + "right":{ + "op":"=", + "left":"right", + "right":false + } + }, + "right":{ + "op":"=", + "left":"toleft", + "right":false + } + }, + "right":{ + "op":"=", + "left":"toleft_n", + "right":true + } + }, + "right":{ + "op":"=", + "left":"toright", + "right":false + } + }, + "right":{ + "op":"=", + "left":"toright_n", + "right":true + } + } + }, + "automata":[ + { + "name":"Left", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"percent_op\"", + "value":{ + "op":"/", + "left":{ + "op":"*", + "left":100, + "right":{ + "op":"+", + "left":"left_n", + "right":"right_n" + } + }, + "right":{ + "op":"*", + "left":2, + "right":"N" + } + } + }, + { + "ref":"\"time_not_min\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"left_n", + "right":{ + "op":"⌊⌋", + "exp":{ + "op":"*", + "left":0.7500000, + "right":"N" + } + } + }, + "right":"toleft_n" + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"right_n", + "right":{ + "op":"⌊⌋", + "exp":{ + "op":"*", + "left":0.7500000, + "right":"N" + } + } + }, + "right":"toright_n" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":{ + "op":"+", + "left":"left_n", + "right":"right_n" + }, + "right":{ + "op":"⌊⌋", + "exp":{ + "op":"*", + "left":0.7500000, + "right":"N" + } + } + }, + "right":"toleft_n" + }, + "right":"line_n" + }, + "right":"toright_n" + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"startLeft", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"left" + }, + "right":{ + "op":"<", + "left":"left_n", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"left", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"repairLeft", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":"left", + "right":{ + "op":"<", + "left":"left_n", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"left", + "value":false + }, + { + "ref":"left_n", + "value":{ + "op":"+", + "left":"left_n", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"num_repairs\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":500 + }, + "right":"left_n" + } + }, + "guard":{ + "exp":{ + "op":">", + "left":"left_n", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":500 + }, + "right":"left_n" + }, + "right":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":500 + }, + "right":"left_n" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"left_n", + "value":{ + "op":"-", + "left":"left_n", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"Repairman", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"startLeft", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":{ + "op":"¬", + "exp":"r" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"startRight", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":{ + "op":"¬", + "exp":"r" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"startToLeft", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":{ + "op":"¬", + "exp":"r" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"startToRight", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":{ + "op":"¬", + "exp":"r" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"startLine", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":{ + "op":"¬", + "exp":"r" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"repairLeft", + "rate":{ + "exp":2 + }, + "guard":{ + "exp":"r" + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":2, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":false + } + ] + } + ] + }, + { + "location":"location", + "action":"repairRight", + "rate":{ + "exp":2 + }, + "guard":{ + "exp":"r" + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":2, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":false + } + ], + "observables":[ + { + "ref":"\"num_repairs\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"repairToLeft", + "rate":{ + "exp":0.2500000 + }, + "guard":{ + "exp":"r" + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.2500000, + "right":0.2500000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":false + } + ], + "observables":[ + { + "ref":"\"num_repairs\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"repairToRight", + "rate":{ + "exp":0.2500000 + }, + "guard":{ + "exp":"r" + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.2500000, + "right":0.2500000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":false + } + ], + "observables":[ + { + "ref":"\"num_repairs\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"repairLine", + "rate":{ + "exp":0.1250000 + }, + "guard":{ + "exp":"r" + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.1250000, + "right":0.1250000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":false + } + ], + "observables":[ + { + "ref":"\"num_repairs\"", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"Line", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"startLine", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"line" + }, + "right":{ + "op":"¬", + "exp":"line_n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"line", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"repairLine", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":"line", + "right":{ + "op":"¬", + "exp":"line_n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"line", + "value":false + }, + { + "ref":"line_n", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":5000 + } + }, + "guard":{ + "exp":"line_n" + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":5000 + }, + "right":{ + "op":"/", + "left":1, + "right":5000 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"line_n", + "value":false + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"Right", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"startRight", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"right" + }, + "right":{ + "op":"<", + "left":"right_n", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"right", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"repairRight", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":"right", + "right":{ + "op":"<", + "left":"right_n", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"right", + "value":false + }, + { + "ref":"right_n", + "value":{ + "op":"+", + "left":"right_n", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":500 + }, + "right":"right_n" + } + }, + "guard":{ + "exp":{ + "op":">", + "left":"right_n", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":500 + }, + "right":"right_n" + }, + "right":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":500 + }, + "right":"right_n" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"right_n", + "value":{ + "op":"-", + "left":"right_n", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"ToLeft", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"startToLeft", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"toleft" + }, + "right":{ + "op":"¬", + "exp":"toleft_n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"toleft", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"repairToLeft", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":"toleft", + "right":{ + "op":"¬", + "exp":"toleft_n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"toleft", + "value":false + }, + { + "ref":"toleft_n", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":4000 + } + }, + "guard":{ + "exp":"toleft_n" + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":4000 + }, + "right":{ + "op":"/", + "left":1, + "right":4000 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"toleft_n", + "value":false + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"ToRight", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"startToRight", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"toright" + }, + "right":{ + "op":"¬", + "exp":"toright_n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"toright", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"repairToRight", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":"toright", + "right":{ + "op":"¬", + "exp":"toright_n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"toright", + "value":false + }, + { + "ref":"toright_n", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":4000 + } + }, + "guard":{ + "exp":"toright_n" + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":4000 + }, + "right":{ + "op":"/", + "left":1, + "right":4000 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"toright_n", + "value":false + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"Left" + }, + { + "automaton":"Repairman" + }, + { + "automaton":"Line" + }, + { + "automaton":"Right" + }, + { + "automaton":"ToLeft" + }, + { + "automaton":"ToRight" + } + ], + "syncs":[ + { + "synchronise":[ + null, + "startToRight", + null, + null, + null, + "startToRight" + ], + "result":"startToRight" + }, + { + "synchronise":[ + null, + "repairToRight", + null, + null, + null, + "repairToRight" + ], + "result":"repairToRight" + }, + { + "synchronise":[ + null, + "startToLeft", + null, + null, + "startToLeft", + null + ], + "result":"startToLeft" + }, + { + "synchronise":[ + null, + "repairToLeft", + null, + null, + "repairToLeft", + null + ], + "result":"repairToLeft" + }, + { + "synchronise":[ + null, + "startRight", + null, + "startRight", + null, + null + ], + "result":"startRight" + }, + { + "synchronise":[ + null, + "repairRight", + null, + "repairRight", + null, + null + ], + "result":"repairRight" + }, + { + "synchronise":[ + null, + "startLine", + "startLine", + null, + null, + null + ], + "result":"startLine" + }, + { + "synchronise":[ + null, + "repairLine", + "repairLine", + null, + null, + null + ], + "result":"repairLine" + }, + { + "synchronise":[ + "startLeft", + "startLeft", + null, + null, + null, + null + ], + "result":"startLeft" + }, + { + "synchronise":[ + "repairLeft", + "repairLeft", + null, + null, + null, + null + ], + "result":"repairLeft" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/coin10.jani b/examples/exported-jani-models/coin10.jani new file mode 100644 index 000000000..1eec60e91 --- /dev/null +++ b/examples/exported-jani-models/coin10.jani @@ -0,0 +1,4237 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"done" + } + ], + "constants":[ + { + "name":"K", + "type":"int" + } + ], + "variables":[ + { + "name":"counter", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + } + } + }, + { + "name":"pc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"+", + "left":"K", + "right":1 + }, + "right":10 + } + }, + "right":{ + "op":"=", + "left":"pc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin10", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":0 + }, + { + "ref":"pc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":1 + }, + { + "ref":"pc1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc1", + "value":2 + }, + { + "ref":"coin1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc1", + "value":2 + }, + { + "ref":"coin1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":3 + }, + { + "ref":"coin1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":3 + }, + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":10 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":3 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":0 + }, + { + "ref":"pc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":1 + }, + { + "ref":"pc2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc2", + "value":2 + }, + { + "ref":"coin2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc2", + "value":2 + }, + { + "ref":"coin2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":3 + }, + { + "ref":"coin2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":3 + }, + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":10 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":0 + }, + { + "ref":"pc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":1 + }, + { + "ref":"pc3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc3", + "value":2 + }, + { + "ref":"coin3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc3", + "value":2 + }, + { + "ref":"coin3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":3 + }, + { + "ref":"coin3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":3 + }, + { + "ref":"coin3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":10 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":0 + }, + { + "ref":"pc4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":1 + }, + { + "ref":"pc4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc4", + "value":2 + }, + { + "ref":"coin4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc4", + "value":2 + }, + { + "ref":"coin4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":3 + }, + { + "ref":"coin4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":3 + }, + { + "ref":"coin4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":10 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":0 + }, + { + "ref":"pc5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":1 + }, + { + "ref":"pc5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc5", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc5", + "value":2 + }, + { + "ref":"coin5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc5", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin5", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc5", + "value":2 + }, + { + "ref":"coin5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc5", + "value":3 + }, + { + "ref":"coin5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc5", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc5", + "value":3 + }, + { + "ref":"coin5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc5", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":10 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc5", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":0 + }, + { + "ref":"pc6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":1 + }, + { + "ref":"pc6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc6", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc6", + "value":2 + }, + { + "ref":"coin6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc6", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin6", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc6", + "value":2 + }, + { + "ref":"coin6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc6", + "value":3 + }, + { + "ref":"coin6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc6", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc6", + "value":3 + }, + { + "ref":"coin6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc6", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":10 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc6", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin7", + "value":0 + }, + { + "ref":"pc7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin7", + "value":1 + }, + { + "ref":"pc7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc7", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc7", + "value":2 + }, + { + "ref":"coin7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc7", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin7", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc7", + "value":2 + }, + { + "ref":"coin7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc7", + "value":3 + }, + { + "ref":"coin7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc7", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc7", + "value":3 + }, + { + "ref":"coin7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc7", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":10 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc7", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc7", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin8", + "value":0 + }, + { + "ref":"pc8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin8", + "value":1 + }, + { + "ref":"pc8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc8", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc8", + "value":2 + }, + { + "ref":"coin8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc8", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin8", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc8", + "value":2 + }, + { + "ref":"coin8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc8", + "value":3 + }, + { + "ref":"coin8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc8", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc8", + "value":3 + }, + { + "ref":"coin8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc8", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":10 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc8", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc8", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin9", + "value":0 + }, + { + "ref":"pc9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin9", + "value":1 + }, + { + "ref":"pc9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc9", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc9", + "value":2 + }, + { + "ref":"coin9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc9", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin9", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc9", + "value":2 + }, + { + "ref":"coin9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc9", + "value":3 + }, + { + "ref":"coin9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc9", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc9", + "value":3 + }, + { + "ref":"coin9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc9", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":10 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc9", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc9", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin10", + "value":0 + }, + { + "ref":"pc10", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin10", + "value":1 + }, + { + "ref":"pc10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc10", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc10", + "value":2 + }, + { + "ref":"coin10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc10", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin10", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc10", + "value":2 + }, + { + "ref":"coin10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc10", + "value":3 + }, + { + "ref":"coin10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc10", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc10", + "value":3 + }, + { + "ref":"coin10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc10", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":10 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":10 + }, + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc10", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc10", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/coin2.jani b/examples/exported-jani-models/coin2.jani new file mode 100644 index 000000000..e05dd1363 --- /dev/null +++ b/examples/exported-jani-models/coin2.jani @@ -0,0 +1,901 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"done" + } + ], + "constants":[ + { + "name":"K", + "type":"int" + } + ], + "variables":[ + { + "name":"counter", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":2 + } + } + }, + { + "name":"pc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"+", + "left":"K", + "right":1 + }, + "right":2 + } + }, + "right":{ + "op":"=", + "left":"pc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":0 + }, + { + "ref":"pc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":1 + }, + { + "ref":"pc1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc1", + "value":2 + }, + { + "ref":"coin1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc1", + "value":2 + }, + { + "ref":"coin1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":3 + }, + { + "ref":"coin1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":2 + }, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":3 + }, + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":2 + }, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":3 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":0 + }, + { + "ref":"pc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":1 + }, + { + "ref":"pc2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc2", + "value":2 + }, + { + "ref":"coin2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc2", + "value":2 + }, + { + "ref":"coin2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":3 + }, + { + "ref":"coin2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":2 + }, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":3 + }, + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":2 + }, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/coin4.jani b/examples/exported-jani-models/coin4.jani new file mode 100644 index 000000000..3111c62c3 --- /dev/null +++ b/examples/exported-jani-models/coin4.jani @@ -0,0 +1,1723 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"done" + } + ], + "constants":[ + { + "name":"K", + "type":"int" + } + ], + "variables":[ + { + "name":"counter", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":4 + } + } + }, + { + "name":"pc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"+", + "left":"K", + "right":1 + }, + "right":4 + } + }, + "right":{ + "op":"=", + "left":"pc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":0 + }, + { + "ref":"pc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":1 + }, + { + "ref":"pc1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc1", + "value":2 + }, + { + "ref":"coin1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc1", + "value":2 + }, + { + "ref":"coin1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":3 + }, + { + "ref":"coin1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":4 + }, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":3 + }, + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":4 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":4 + }, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":3 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":0 + }, + { + "ref":"pc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":1 + }, + { + "ref":"pc2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc2", + "value":2 + }, + { + "ref":"coin2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc2", + "value":2 + }, + { + "ref":"coin2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":3 + }, + { + "ref":"coin2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":4 + }, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":3 + }, + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":4 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":4 + }, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":0 + }, + { + "ref":"pc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":1 + }, + { + "ref":"pc3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc3", + "value":2 + }, + { + "ref":"coin3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc3", + "value":2 + }, + { + "ref":"coin3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":3 + }, + { + "ref":"coin3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":4 + }, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":3 + }, + { + "ref":"coin3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":4 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":4 + }, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":0 + }, + { + "ref":"pc4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":1 + }, + { + "ref":"pc4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc4", + "value":2 + }, + { + "ref":"coin4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc4", + "value":2 + }, + { + "ref":"coin4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":3 + }, + { + "ref":"coin4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":4 + }, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":3 + }, + { + "ref":"coin4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":4 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":4 + }, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/coin6.jani b/examples/exported-jani-models/coin6.jani new file mode 100644 index 000000000..3ecbf1b2c --- /dev/null +++ b/examples/exported-jani-models/coin6.jani @@ -0,0 +1,2553 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"done" + } + ], + "constants":[ + { + "name":"K", + "type":"int" + } + ], + "variables":[ + { + "name":"counter", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + } + } + }, + { + "name":"pc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"+", + "left":"K", + "right":1 + }, + "right":6 + } + }, + "right":{ + "op":"=", + "left":"pc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":0 + }, + { + "ref":"pc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":1 + }, + { + "ref":"pc1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc1", + "value":2 + }, + { + "ref":"coin1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc1", + "value":2 + }, + { + "ref":"coin1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":3 + }, + { + "ref":"coin1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":3 + }, + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":6 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":3 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":0 + }, + { + "ref":"pc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":1 + }, + { + "ref":"pc2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc2", + "value":2 + }, + { + "ref":"coin2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc2", + "value":2 + }, + { + "ref":"coin2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":3 + }, + { + "ref":"coin2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":3 + }, + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":6 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":0 + }, + { + "ref":"pc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":1 + }, + { + "ref":"pc3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc3", + "value":2 + }, + { + "ref":"coin3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc3", + "value":2 + }, + { + "ref":"coin3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":3 + }, + { + "ref":"coin3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":3 + }, + { + "ref":"coin3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":6 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":0 + }, + { + "ref":"pc4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":1 + }, + { + "ref":"pc4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc4", + "value":2 + }, + { + "ref":"coin4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc4", + "value":2 + }, + { + "ref":"coin4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":3 + }, + { + "ref":"coin4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":3 + }, + { + "ref":"coin4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":6 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":0 + }, + { + "ref":"pc5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":1 + }, + { + "ref":"pc5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc5", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc5", + "value":2 + }, + { + "ref":"coin5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc5", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin5", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc5", + "value":2 + }, + { + "ref":"coin5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc5", + "value":3 + }, + { + "ref":"coin5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc5", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc5", + "value":3 + }, + { + "ref":"coin5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc5", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":6 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc5", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":0 + }, + { + "ref":"pc6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":1 + }, + { + "ref":"pc6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc6", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc6", + "value":2 + }, + { + "ref":"coin6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc6", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin6", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc6", + "value":2 + }, + { + "ref":"coin6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc6", + "value":3 + }, + { + "ref":"coin6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc6", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc6", + "value":3 + }, + { + "ref":"coin6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc6", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":6 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":6 + }, + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc6", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/coin8.jani b/examples/exported-jani-models/coin8.jani new file mode 100644 index 000000000..f28d2b094 --- /dev/null +++ b/examples/exported-jani-models/coin8.jani @@ -0,0 +1,3391 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"done" + } + ], + "constants":[ + { + "name":"K", + "type":"int" + } + ], + "variables":[ + { + "name":"counter", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + } + } + }, + { + "name":"pc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"pc8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"+", + "left":"K", + "right":1 + }, + "right":8 + } + }, + "right":{ + "op":"=", + "left":"pc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"pc8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin8", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":0 + }, + { + "ref":"pc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":1 + }, + { + "ref":"pc1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc1", + "value":2 + }, + { + "ref":"coin1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc1", + "value":2 + }, + { + "ref":"coin1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":3 + }, + { + "ref":"coin1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":3 + }, + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc1", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":8 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc1", + "value":3 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":0 + }, + { + "ref":"pc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":1 + }, + { + "ref":"pc2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc2", + "value":2 + }, + { + "ref":"coin2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc2", + "value":2 + }, + { + "ref":"coin2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":3 + }, + { + "ref":"coin2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":3 + }, + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc2", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":8 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":0 + }, + { + "ref":"pc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":1 + }, + { + "ref":"pc3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc3", + "value":2 + }, + { + "ref":"coin3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc3", + "value":2 + }, + { + "ref":"coin3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":3 + }, + { + "ref":"coin3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":3 + }, + { + "ref":"coin3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc3", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":8 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":0 + }, + { + "ref":"pc4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":1 + }, + { + "ref":"pc4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc4", + "value":2 + }, + { + "ref":"coin4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc4", + "value":2 + }, + { + "ref":"coin4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":3 + }, + { + "ref":"coin4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":3 + }, + { + "ref":"coin4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc4", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":8 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc4", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":0 + }, + { + "ref":"pc5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":1 + }, + { + "ref":"pc5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc5", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc5", + "value":2 + }, + { + "ref":"coin5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc5", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin5", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc5", + "value":2 + }, + { + "ref":"coin5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc5", + "value":3 + }, + { + "ref":"coin5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc5", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc5", + "value":3 + }, + { + "ref":"coin5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc5", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":8 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc5", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":0 + }, + { + "ref":"pc6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":1 + }, + { + "ref":"pc6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc6", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc6", + "value":2 + }, + { + "ref":"coin6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc6", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin6", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc6", + "value":2 + }, + { + "ref":"coin6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc6", + "value":3 + }, + { + "ref":"coin6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc6", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc6", + "value":3 + }, + { + "ref":"coin6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc6", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":8 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc6", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin7", + "value":0 + }, + { + "ref":"pc7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin7", + "value":1 + }, + { + "ref":"pc7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc7", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc7", + "value":2 + }, + { + "ref":"coin7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc7", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin7", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc7", + "value":2 + }, + { + "ref":"coin7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc7", + "value":3 + }, + { + "ref":"coin7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc7", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc7", + "value":3 + }, + { + "ref":"coin7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc7", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":8 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc7", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc7", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"pc8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin8", + "value":0 + }, + { + "ref":"pc8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin8", + "value":1 + }, + { + "ref":"pc8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc8", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"counter", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"-", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc8", + "value":2 + }, + { + "ref":"coin8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc8", + "right":1 + }, + "right":{ + "op":"=", + "left":"coin8", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"counter", + "value":{ + "op":"+", + "left":"counter", + "right":1 + } + }, + { + "ref":"pc8", + "value":2 + }, + { + "ref":"coin8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"counter", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc8", + "value":3 + }, + { + "ref":"coin8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc8", + "right":2 + }, + "right":{ + "op":"≥", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc8", + "value":3 + }, + { + "ref":"coin8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc8", + "right":2 + }, + "right":{ + "op":">", + "left":"counter", + "right":8 + } + }, + "right":{ + "op":"<", + "left":"counter", + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":"K", + "right":1 + } + }, + "right":8 + }, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"pc8", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc8", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/contract_bmgr.jani b/examples/exported-jani-models/contract_bmgr.jani new file mode 100644 index 000000000..56d5794f1 --- /dev/null +++ b/examples/exported-jani-models/contract_bmgr.jani @@ -0,0 +1,2455 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"pA", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":24 + } + }, + { + "name":"pB", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":24 + } + }, + { + "name":"turn", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"rho", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":100 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pA", + "right":1 + }, + "right":{ + "op":"=", + "left":"pB", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"turn", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"rho", + "right":0 + } + } + }, + "automata":[ + { + "name":"contract", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"turn", + "right":0 + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pA", + "value":{ + "op":"min", + "left":24, + "right":{ + "op":"+", + "left":"pA", + "right":1 + } + } + }, + { + "ref":"turn", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"turn", + "right":1 + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pB", + "value":{ + "op":"min", + "left":24, + "right":{ + "op":"+", + "left":"pB", + "right":1 + } + } + }, + { + "ref":"turn", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"pA", + "right":1 + }, + "right":{ + "op":">", + "left":"pB", + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":31 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":32 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":33 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":34 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":35 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":36 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":37 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":38 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":39 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":40 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":41 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":42 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":43 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":44 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":45 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":46 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":47 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":48 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":49 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":50 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":51 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":52 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":53 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":54 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":55 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":56 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":57 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":58 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":59 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":60 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":61 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":62 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":63 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":64 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":65 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":66 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":67 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":68 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":69 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":70 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":71 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":72 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":73 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":74 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":75 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":76 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":77 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":78 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":79 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":80 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":81 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":82 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":83 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":84 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":85 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":86 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":87 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":88 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":89 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":90 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":91 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":92 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":93 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":94 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":95 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":96 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":97 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":98 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":99 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":100 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"rho", + "value":100 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"contract" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/crowds.jani b/examples/exported-jani-models/crowds.jani new file mode 100644 index 000000000..c80231c3a --- /dev/null +++ b/examples/exported-jani-models/crowds.jani @@ -0,0 +1,3508 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"launch", + "type":"bool" + }, + { + "name":"new", + "type":"bool" + }, + { + "name":"runCount", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"start", + "type":"bool" + }, + { + "name":"run", + "type":"bool" + }, + { + "name":"lastSeen", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":20 + } + }, + { + "name":"good", + "type":"bool" + }, + { + "name":"bad", + "type":"bool" + }, + { + "name":"recordLast", + "type":"bool" + }, + { + "name":"badObserve", + "type":"bool" + }, + { + "name":"deliver", + "type":"bool" + }, + { + "name":"done", + "type":"bool" + }, + { + "name":"observe0", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"observe19", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"launch", + "right":true + }, + "right":{ + "op":"=", + "left":"new", + "right":false + } + }, + "right":{ + "op":"=", + "left":"runCount", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"start", + "right":false + } + }, + "right":{ + "op":"=", + "left":"run", + "right":false + } + }, + "right":{ + "op":"=", + "left":"lastSeen", + "right":20 + } + }, + "right":{ + "op":"=", + "left":"good", + "right":false + } + }, + "right":{ + "op":"=", + "left":"bad", + "right":false + } + }, + "right":{ + "op":"=", + "left":"recordLast", + "right":false + } + }, + "right":{ + "op":"=", + "left":"badObserve", + "right":false + } + }, + "right":{ + "op":"=", + "left":"deliver", + "right":false + } + }, + "right":{ + "op":"=", + "left":"done", + "right":false + } + }, + "right":{ + "op":"=", + "left":"observe0", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe16", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe17", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe18", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"observe19", + "right":0 + } + } + }, + "automata":[ + { + "name":"crowds", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":"launch" + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"new", + "value":true + }, + { + "ref":"runCount", + "value":4 + }, + { + "ref":"launch", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":"new", + "right":{ + "op":">", + "left":"runCount", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"runCount", + "value":{ + "op":"-", + "left":"runCount", + "right":1 + } + }, + { + "ref":"new", + "value":false + }, + { + "ref":"start", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":"start" + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":0 + }, + { + "ref":"run", + "value":true + }, + { + "ref":"deliver", + "value":false + }, + { + "ref":"start", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"good" + }, + "right":{ + "op":"¬", + "exp":"bad" + } + }, + "right":{ + "op":"¬", + "exp":"deliver" + } + }, + "right":"run" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.9090000 + }, + "location":"location", + "assignments":[ + { + "ref":"good", + "value":true + }, + { + "ref":"recordLast", + "value":true + }, + { + "ref":"run", + "value":false + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0910000 + }, + "location":"location", + "assignments":[ + { + "ref":"bad", + "value":true + }, + { + "ref":"badObserve", + "value":true + }, + { + "ref":"run", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":"good", + "right":{ + "op":"¬", + "exp":"deliver" + } + }, + "right":"run" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.8000000 + }, + "location":"location", + "assignments":[ + { + "ref":"good", + "value":false + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2000000 + }, + "location":"location", + "assignments":[ + { + "ref":"deliver", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":"recordLast", + "right":{ + "op":"=", + "left":10, + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":0 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":1 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":"recordLast", + "right":{ + "op":"=", + "left":10, + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":0 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":1 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":2 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":3 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":"recordLast", + "right":{ + "op":"=", + "left":10, + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":0 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":1 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":2 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":3 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":4 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":"recordLast", + "right":{ + "op":"=", + "left":10, + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":0 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":1 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":2 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":3 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":4 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":5 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":6 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":7 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":8 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":9 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":"recordLast", + "right":{ + "op":"=", + "left":10, + "right":15 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":0 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":1 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":2 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":3 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":4 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":5 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":6 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":7 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":8 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":9 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":10 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":11 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":12 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":13 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":14 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":"recordLast", + "right":{ + "op":"=", + "left":10, + "right":20 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":0 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":1 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":2 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":3 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":4 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":5 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":6 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":7 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":8 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":9 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":10 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":11 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":12 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":13 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":14 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":15 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":16 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":17 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":18 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "location":"location", + "assignments":[ + { + "ref":"lastSeen", + "value":19 + }, + { + "ref":"recordLast", + "value":false + }, + { + "ref":"run", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":0 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe0", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe0", + "value":{ + "op":"+", + "left":"observe0", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":1 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe1", + "value":{ + "op":"+", + "left":"observe1", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":2 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe2", + "value":{ + "op":"+", + "left":"observe2", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":3 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe3", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe3", + "value":{ + "op":"+", + "left":"observe3", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":4 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe4", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe4", + "value":{ + "op":"+", + "left":"observe4", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":5 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe5", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe5", + "value":{ + "op":"+", + "left":"observe5", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":6 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe6", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe6", + "value":{ + "op":"+", + "left":"observe6", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":7 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe7", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe7", + "value":{ + "op":"+", + "left":"observe7", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":8 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe8", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe8", + "value":{ + "op":"+", + "left":"observe8", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":9 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe9", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe9", + "value":{ + "op":"+", + "left":"observe9", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":10 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe10", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe10", + "value":{ + "op":"+", + "left":"observe10", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":11 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe11", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe11", + "value":{ + "op":"+", + "left":"observe11", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":12 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe12", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe12", + "value":{ + "op":"+", + "left":"observe12", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":13 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe13", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe13", + "value":{ + "op":"+", + "left":"observe13", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":14 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe14", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe14", + "value":{ + "op":"+", + "left":"observe14", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":15 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe15", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe15", + "value":{ + "op":"+", + "left":"observe15", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":16 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe16", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe16", + "value":{ + "op":"+", + "left":"observe16", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":17 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe17", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe17", + "value":{ + "op":"+", + "left":"observe17", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":18 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe18", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe18", + "value":{ + "op":"+", + "left":"observe18", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lastSeen", + "right":19 + }, + "right":"badObserve" + }, + "right":{ + "op":"<", + "left":"observe19", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"observe19", + "value":{ + "op":"+", + "left":"observe19", + "right":1 + } + }, + { + "ref":"deliver", + "value":true + }, + { + "ref":"run", + "value":true + }, + { + "ref":"badObserve", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":"deliver", + "right":"run" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"done", + "value":true + }, + { + "ref":"deliver", + "value":false + }, + { + "ref":"run", + "value":false + }, + { + "ref":"good", + "value":false + }, + { + "ref":"bad", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":"done" + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"new", + "value":true + }, + { + "ref":"done", + "value":false + }, + { + "ref":"run", + "value":false + }, + { + "ref":"lastSeen", + "value":20 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"crowds" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/csma2_2.jani b/examples/exported-jani-models/csma2_2.jani new file mode 100644 index 000000000..327771c8d --- /dev/null +++ b/examples/exported-jani-models/csma2_2.jani @@ -0,0 +1,2125 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"end1" + }, + { + "name":"end2" + }, + { + "name":"busy1" + }, + { + "name":"busy2" + }, + { + "name":"cd" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"y1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"y2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":2 + } + }, + "right":1 + } + } + }, + { + "name":"cd1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":2 + } + }, + "right":1 + } + } + }, + { + "name":"cd2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"\"time\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":0 + }, + "right":{ + "op":"=", + "left":"y1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd2", + "right":0 + } + } + }, + "automata":[ + { + "name":"bus", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"≤", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"<", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"+", + "left":"x1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"-", + "left":"bc1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"+", + "left":"x2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"-", + "left":"bc2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"bus" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "cd", + "cd", + "cd" + ], + "result":"cd" + }, + { + "synchronise":[ + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "end2", + null, + "end2" + ], + "result":"end2" + }, + { + "synchronise":[ + "busy2", + null, + "busy2" + ], + "result":"busy2" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "end1", + "end1", + null + ], + "result":"end1" + }, + { + "synchronise":[ + "busy1", + "busy1", + null + ], + "result":"busy1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/csma2_4.jani b/examples/exported-jani-models/csma2_4.jani new file mode 100644 index 000000000..62c755b08 --- /dev/null +++ b/examples/exported-jani-models/csma2_4.jani @@ -0,0 +1,3265 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"end1" + }, + { + "name":"end2" + }, + { + "name":"busy1" + }, + { + "name":"busy2" + }, + { + "name":"cd" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"y1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"y2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":4 + } + }, + "right":1 + } + } + }, + { + "name":"cd1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":4 + } + }, + "right":1 + } + } + }, + { + "name":"cd2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + } + ], + "observables":[ + { + "name":"\"time\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":0 + }, + "right":{ + "op":"=", + "left":"y1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd2", + "right":0 + } + } + }, + "automata":[ + { + "name":"bus", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"≤", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"<", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"+", + "left":"x1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"-", + "left":"bc1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"+", + "left":"x2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"-", + "left":"bc2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"bus" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "cd", + "cd", + "cd" + ], + "result":"cd" + }, + { + "synchronise":[ + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "end2", + null, + "end2" + ], + "result":"end2" + }, + { + "synchronise":[ + "busy2", + null, + "busy2" + ], + "result":"busy2" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "end1", + "end1", + null + ], + "result":"end1" + }, + { + "synchronise":[ + "busy1", + "busy1", + null + ], + "result":"busy1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/csma2_6.jani b/examples/exported-jani-models/csma2_6.jani new file mode 100644 index 000000000..0e03d6496 --- /dev/null +++ b/examples/exported-jani-models/csma2_6.jani @@ -0,0 +1,7573 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"end1" + }, + { + "name":"end2" + }, + { + "name":"busy1" + }, + { + "name":"busy2" + }, + { + "name":"cd" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"y1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"y2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":6 + } + }, + "right":1 + } + } + }, + { + "name":"cd1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":6 + } + }, + "right":1 + } + } + }, + { + "name":"cd2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + } + ], + "observables":[ + { + "name":"\"time\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":0 + }, + "right":{ + "op":"=", + "left":"y1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd2", + "right":0 + } + } + }, + "automata":[ + { + "name":"bus", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"≤", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"<", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":31 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":31 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":32 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":33 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":34 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":35 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":36 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":37 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":38 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":39 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":40 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":41 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":42 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":43 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":44 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":45 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":46 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":47 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":48 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":49 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":50 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":51 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":52 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":53 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":54 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":55 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":56 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":57 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":58 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":59 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":60 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":61 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":62 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":63 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"+", + "left":"x1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"-", + "left":"bc1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":31 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":31 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":32 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":33 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":34 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":35 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":36 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":37 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":38 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":39 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":40 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":41 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":42 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":43 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":44 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":45 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":46 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":47 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":48 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":49 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":50 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":51 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":52 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":53 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":54 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":55 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":56 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":57 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":58 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":59 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":60 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":61 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":62 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":63 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"+", + "left":"x2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"-", + "left":"bc2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"bus" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "cd", + "cd", + "cd" + ], + "result":"cd" + }, + { + "synchronise":[ + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "end2", + null, + "end2" + ], + "result":"end2" + }, + { + "synchronise":[ + "busy2", + null, + "busy2" + ], + "result":"busy2" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "end1", + "end1", + null + ], + "result":"end1" + }, + { + "synchronise":[ + "busy1", + "busy1", + null + ], + "result":"busy1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/csma3_2.jani b/examples/exported-jani-models/csma3_2.jani new file mode 100644 index 000000000..2b7468968 --- /dev/null +++ b/examples/exported-jani-models/csma3_2.jani @@ -0,0 +1,3047 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"send3" + }, + { + "name":"end1" + }, + { + "name":"end2" + }, + { + "name":"end3" + }, + { + "name":"busy1" + }, + { + "name":"busy2" + }, + { + "name":"busy3" + }, + { + "name":"cd" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"y1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"y2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":2 + } + }, + "right":1 + } + } + }, + { + "name":"cd1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":2 + } + }, + "right":1 + } + } + }, + { + "name":"cd2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":2 + } + }, + "right":1 + } + } + }, + { + "name":"cd3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"\"time\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":0 + }, + "right":{ + "op":"=", + "left":"y1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd3", + "right":0 + } + } + }, + "automata":[ + { + "name":"bus", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end3", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"≤", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"<", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"+", + "left":"x1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"-", + "left":"bc1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"+", + "left":"x2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"-", + "left":"bc2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"<", + "left":"x3", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x3", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"x3", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"<", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":{ + "op":"+", + "left":"x3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + }, + { + "ref":"bc3", + "value":{ + "op":"-", + "left":"bc3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s3", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"bus" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + } + ], + "syncs":[ + { + "synchronise":[ + "cd", + "cd", + "cd", + "cd" + ], + "result":"cd" + }, + { + "synchronise":[ + "time", + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send3", + null, + null, + "send3" + ], + "result":"send3" + }, + { + "synchronise":[ + "end3", + null, + null, + "end3" + ], + "result":"end3" + }, + { + "synchronise":[ + "busy3", + null, + null, + "busy3" + ], + "result":"busy3" + }, + { + "synchronise":[ + "send2", + null, + "send2", + null + ], + "result":"send2" + }, + { + "synchronise":[ + "end2", + null, + "end2", + null + ], + "result":"end2" + }, + { + "synchronise":[ + "busy2", + null, + "busy2", + null + ], + "result":"busy2" + }, + { + "synchronise":[ + "send1", + "send1", + null, + null + ], + "result":"send1" + }, + { + "synchronise":[ + "end1", + "end1", + null, + null + ], + "result":"end1" + }, + { + "synchronise":[ + "busy1", + "busy1", + null, + null + ], + "result":"busy1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/csma3_4.jani b/examples/exported-jani-models/csma3_4.jani new file mode 100644 index 000000000..11acd6a73 --- /dev/null +++ b/examples/exported-jani-models/csma3_4.jani @@ -0,0 +1,4757 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"send3" + }, + { + "name":"end1" + }, + { + "name":"end2" + }, + { + "name":"end3" + }, + { + "name":"busy1" + }, + { + "name":"busy2" + }, + { + "name":"busy3" + }, + { + "name":"cd" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"y1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"y2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":4 + } + }, + "right":1 + } + } + }, + { + "name":"cd1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":4 + } + }, + "right":1 + } + } + }, + { + "name":"cd2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":4 + } + }, + "right":1 + } + } + }, + { + "name":"cd3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + } + ], + "observables":[ + { + "name":"\"time\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":0 + }, + "right":{ + "op":"=", + "left":"y1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd3", + "right":0 + } + } + }, + "automata":[ + { + "name":"bus", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end3", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"≤", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"<", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"+", + "left":"x1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"-", + "left":"bc1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"+", + "left":"x2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"-", + "left":"bc2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"<", + "left":"x3", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x3", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"x3", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"<", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":{ + "op":"+", + "left":"x3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + }, + { + "ref":"bc3", + "value":{ + "op":"-", + "left":"bc3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s3", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"bus" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + } + ], + "syncs":[ + { + "synchronise":[ + "cd", + "cd", + "cd", + "cd" + ], + "result":"cd" + }, + { + "synchronise":[ + "time", + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send3", + null, + null, + "send3" + ], + "result":"send3" + }, + { + "synchronise":[ + "end3", + null, + null, + "end3" + ], + "result":"end3" + }, + { + "synchronise":[ + "busy3", + null, + null, + "busy3" + ], + "result":"busy3" + }, + { + "synchronise":[ + "send2", + null, + "send2", + null + ], + "result":"send2" + }, + { + "synchronise":[ + "end2", + null, + "end2", + null + ], + "result":"end2" + }, + { + "synchronise":[ + "busy2", + null, + "busy2", + null + ], + "result":"busy2" + }, + { + "synchronise":[ + "send1", + "send1", + null, + null + ], + "result":"send1" + }, + { + "synchronise":[ + "end1", + "end1", + null, + null + ], + "result":"end1" + }, + { + "synchronise":[ + "busy1", + "busy1", + null, + null + ], + "result":"busy1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/csma3_6.jani b/examples/exported-jani-models/csma3_6.jani new file mode 100644 index 000000000..418b46e0a --- /dev/null +++ b/examples/exported-jani-models/csma3_6.jani @@ -0,0 +1,11219 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"send3" + }, + { + "name":"end1" + }, + { + "name":"end2" + }, + { + "name":"end3" + }, + { + "name":"busy1" + }, + { + "name":"busy2" + }, + { + "name":"busy3" + }, + { + "name":"cd" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"y1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"y2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":6 + } + }, + "right":1 + } + } + }, + { + "name":"cd1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":6 + } + }, + "right":1 + } + } + }, + { + "name":"cd2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":6 + } + }, + "right":1 + } + } + }, + { + "name":"cd3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + } + ], + "observables":[ + { + "name":"\"time\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":0 + }, + "right":{ + "op":"=", + "left":"y1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd3", + "right":0 + } + } + }, + "automata":[ + { + "name":"bus", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end3", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"≤", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"<", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":31 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":31 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":32 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":33 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":34 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":35 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":36 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":37 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":38 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":39 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":40 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":41 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":42 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":43 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":44 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":45 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":46 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":47 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":48 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":49 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":50 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":51 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":52 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":53 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":54 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":55 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":56 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":57 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":58 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":59 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":60 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":61 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":62 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":63 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"+", + "left":"x1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"-", + "left":"bc1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":31 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":31 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":32 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":33 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":34 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":35 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":36 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":37 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":38 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":39 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":40 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":41 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":42 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":43 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":44 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":45 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":46 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":47 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":48 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":49 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":50 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":51 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":52 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":53 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":54 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":55 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":56 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":57 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":58 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":59 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":60 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":61 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":62 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":63 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"+", + "left":"x2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"-", + "left":"bc2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"<", + "left":"x3", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x3", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"x3", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":31 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":31 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":32 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":33 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":34 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":35 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":36 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":37 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":38 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":39 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":40 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":41 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":42 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":43 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":44 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":45 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":46 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":47 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":48 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":49 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":50 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":51 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":52 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":53 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":54 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":55 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":56 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":57 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":58 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":59 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":60 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":61 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":62 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":63 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"<", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":{ + "op":"+", + "left":"x3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + }, + { + "ref":"bc3", + "value":{ + "op":"-", + "left":"bc3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s3", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"bus" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + } + ], + "syncs":[ + { + "synchronise":[ + "cd", + "cd", + "cd", + "cd" + ], + "result":"cd" + }, + { + "synchronise":[ + "time", + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send3", + null, + null, + "send3" + ], + "result":"send3" + }, + { + "synchronise":[ + "end3", + null, + null, + "end3" + ], + "result":"end3" + }, + { + "synchronise":[ + "busy3", + null, + null, + "busy3" + ], + "result":"busy3" + }, + { + "synchronise":[ + "send2", + null, + "send2", + null + ], + "result":"send2" + }, + { + "synchronise":[ + "end2", + null, + "end2", + null + ], + "result":"end2" + }, + { + "synchronise":[ + "busy2", + null, + "busy2", + null + ], + "result":"busy2" + }, + { + "synchronise":[ + "send1", + "send1", + null, + null + ], + "result":"send1" + }, + { + "synchronise":[ + "end1", + "end1", + null, + null + ], + "result":"end1" + }, + { + "synchronise":[ + "busy1", + "busy1", + null, + null + ], + "result":"busy1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/csma4_2.jani b/examples/exported-jani-models/csma4_2.jani new file mode 100644 index 000000000..39e1b28a5 --- /dev/null +++ b/examples/exported-jani-models/csma4_2.jani @@ -0,0 +1,3977 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"send3" + }, + { + "name":"send4" + }, + { + "name":"end1" + }, + { + "name":"end2" + }, + { + "name":"end3" + }, + { + "name":"end4" + }, + { + "name":"busy1" + }, + { + "name":"busy2" + }, + { + "name":"busy3" + }, + { + "name":"busy4" + }, + { + "name":"cd" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"y1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"y2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":2 + } + }, + "right":1 + } + } + }, + { + "name":"cd1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":2 + } + }, + "right":1 + } + } + }, + { + "name":"cd2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":2 + } + }, + "right":1 + } + } + }, + { + "name":"cd3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":2 + } + }, + "right":1 + } + } + }, + { + "name":"cd4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"\"time\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":0 + }, + "right":{ + "op":"=", + "left":"y1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd4", + "right":0 + } + } + }, + "automata":[ + { + "name":"bus", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send4", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end3", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end4", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"≤", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"<", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"+", + "left":"x1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"-", + "left":"bc1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"+", + "left":"x2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"-", + "left":"bc2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"<", + "left":"x3", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x3", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"x3", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"<", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":{ + "op":"+", + "left":"x3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + }, + { + "ref":"bc3", + "value":{ + "op":"-", + "left":"bc3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s3", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send4", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"x4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy4", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"x4", + "value":0 + }, + { + "ref":"cd4", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd4", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"<", + "left":"x4", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x4", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"x4", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":4 + }, + { + "ref":"x4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"x4", + "value":0 + }, + { + "ref":"cd4", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd4", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"<", + "left":"x4", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":{ + "op":"+", + "left":"x4", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"x4", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":1 + }, + { + "ref":"bc4", + "value":{ + "op":"-", + "left":"bc4", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"x4", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"x4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"x4", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"x4", + "value":0 + }, + { + "ref":"cd4", + "value":{ + "op":"min", + "left":2, + "right":{ + "op":"+", + "left":"cd4", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s4", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"bus" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + } + ], + "syncs":[ + { + "synchronise":[ + "cd", + "cd", + "cd", + "cd", + "cd" + ], + "result":"cd" + }, + { + "synchronise":[ + "time", + "time", + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send4", + null, + null, + null, + "send4" + ], + "result":"send4" + }, + { + "synchronise":[ + "end4", + null, + null, + null, + "end4" + ], + "result":"end4" + }, + { + "synchronise":[ + "busy4", + null, + null, + null, + "busy4" + ], + "result":"busy4" + }, + { + "synchronise":[ + "send3", + null, + null, + "send3", + null + ], + "result":"send3" + }, + { + "synchronise":[ + "end3", + null, + null, + "end3", + null + ], + "result":"end3" + }, + { + "synchronise":[ + "busy3", + null, + null, + "busy3", + null + ], + "result":"busy3" + }, + { + "synchronise":[ + "send2", + null, + "send2", + null, + null + ], + "result":"send2" + }, + { + "synchronise":[ + "end2", + null, + "end2", + null, + null + ], + "result":"end2" + }, + { + "synchronise":[ + "busy2", + null, + "busy2", + null, + null + ], + "result":"busy2" + }, + { + "synchronise":[ + "send1", + "send1", + null, + null, + null + ], + "result":"send1" + }, + { + "synchronise":[ + "end1", + "end1", + null, + null, + null + ], + "result":"end1" + }, + { + "synchronise":[ + "busy1", + "busy1", + null, + null, + null + ], + "result":"busy1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/csma4_4.jani b/examples/exported-jani-models/csma4_4.jani new file mode 100644 index 000000000..7ff0de6ef --- /dev/null +++ b/examples/exported-jani-models/csma4_4.jani @@ -0,0 +1,6257 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"send3" + }, + { + "name":"send4" + }, + { + "name":"end1" + }, + { + "name":"end2" + }, + { + "name":"end3" + }, + { + "name":"end4" + }, + { + "name":"busy1" + }, + { + "name":"busy2" + }, + { + "name":"busy3" + }, + { + "name":"busy4" + }, + { + "name":"cd" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"y1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"y2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":4 + } + }, + "right":1 + } + } + }, + { + "name":"cd1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":4 + } + }, + "right":1 + } + } + }, + { + "name":"cd2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":4 + } + }, + "right":1 + } + } + }, + { + "name":"cd3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":4 + } + }, + "right":1 + } + } + }, + { + "name":"cd4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + } + ], + "observables":[ + { + "name":"\"time\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":0 + }, + "right":{ + "op":"=", + "left":"y1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd4", + "right":0 + } + } + }, + "automata":[ + { + "name":"bus", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send4", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end3", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end4", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"≤", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"<", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"+", + "left":"x1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"-", + "left":"bc1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"+", + "left":"x2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"-", + "left":"bc2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"<", + "left":"x3", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x3", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"x3", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"<", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":{ + "op":"+", + "left":"x3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + }, + { + "ref":"bc3", + "value":{ + "op":"-", + "left":"bc3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s3", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send4", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"x4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy4", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"x4", + "value":0 + }, + { + "ref":"cd4", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd4", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"<", + "left":"x4", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x4", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"x4", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":4 + }, + { + "ref":"x4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"x4", + "value":0 + }, + { + "ref":"cd4", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd4", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd4", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd4", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"<", + "left":"x4", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":{ + "op":"+", + "left":"x4", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"x4", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":1 + }, + { + "ref":"bc4", + "value":{ + "op":"-", + "left":"bc4", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"x4", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"x4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"x4", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"x4", + "value":0 + }, + { + "ref":"cd4", + "value":{ + "op":"min", + "left":4, + "right":{ + "op":"+", + "left":"cd4", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s4", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"bus" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + } + ], + "syncs":[ + { + "synchronise":[ + "cd", + "cd", + "cd", + "cd", + "cd" + ], + "result":"cd" + }, + { + "synchronise":[ + "time", + "time", + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send4", + null, + null, + null, + "send4" + ], + "result":"send4" + }, + { + "synchronise":[ + "end4", + null, + null, + null, + "end4" + ], + "result":"end4" + }, + { + "synchronise":[ + "busy4", + null, + null, + null, + "busy4" + ], + "result":"busy4" + }, + { + "synchronise":[ + "send3", + null, + null, + "send3", + null + ], + "result":"send3" + }, + { + "synchronise":[ + "end3", + null, + null, + "end3", + null + ], + "result":"end3" + }, + { + "synchronise":[ + "busy3", + null, + null, + "busy3", + null + ], + "result":"busy3" + }, + { + "synchronise":[ + "send2", + null, + "send2", + null, + null + ], + "result":"send2" + }, + { + "synchronise":[ + "end2", + null, + "end2", + null, + null + ], + "result":"end2" + }, + { + "synchronise":[ + "busy2", + null, + "busy2", + null, + null + ], + "result":"busy2" + }, + { + "synchronise":[ + "send1", + "send1", + null, + null, + null + ], + "result":"send1" + }, + { + "synchronise":[ + "end1", + "end1", + null, + null, + null + ], + "result":"end1" + }, + { + "synchronise":[ + "busy1", + "busy1", + null, + null, + null + ], + "result":"busy1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/csma4_6.jani b/examples/exported-jani-models/csma4_6.jani new file mode 100644 index 000000000..243392cfc --- /dev/null +++ b/examples/exported-jani-models/csma4_6.jani @@ -0,0 +1,14873 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"send3" + }, + { + "name":"send4" + }, + { + "name":"end1" + }, + { + "name":"end2" + }, + { + "name":"end3" + }, + { + "name":"end4" + }, + { + "name":"busy1" + }, + { + "name":"busy2" + }, + { + "name":"busy3" + }, + { + "name":"busy4" + }, + { + "name":"cd" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"y1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"y2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":6 + } + }, + "right":1 + } + } + }, + { + "name":"cd1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":6 + } + }, + "right":1 + } + } + }, + { + "name":"cd2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":6 + } + }, + "right":1 + } + } + }, + { + "name":"cd3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"max", + "left":30, + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + { + "name":"bc4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"pow", + "left":2, + "right":6 + } + }, + "right":1 + } + } + }, + { + "name":"cd4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + } + ], + "observables":[ + { + "name":"\"time\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":0 + }, + "right":{ + "op":"=", + "left":"y1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cd4", + "right":0 + } + } + }, + "automata":[ + { + "name":"bus", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send4", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end3", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"end4", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"busy4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + }, + "right":{ + "op":"≥", + "left":"y1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"≤", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"<", + "left":"y2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":1, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":31 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":31 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":32 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":33 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":34 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":35 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":36 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":37 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":38 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":39 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":40 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":41 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":42 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":43 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":44 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":45 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":46 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":47 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":48 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":49 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":50 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":51 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":52 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":53 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":54 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":55 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":56 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":57 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":58 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":59 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":60 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":61 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":62 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"bc1", + "value":63 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"+", + "left":"x1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"-", + "left":"bc1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"cd1", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd1", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":31 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":31 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":32 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":33 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":34 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":35 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":36 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":37 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":38 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":39 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":40 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":41 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":42 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":43 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":44 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":45 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":46 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":47 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":48 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":49 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":50 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":51 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":52 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":53 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":54 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":55 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":56 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":57 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":58 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":59 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":60 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":61 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":62 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"bc2", + "value":63 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"+", + "left":"x2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"-", + "left":"bc2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"cd2", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd2", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"<", + "left":"x3", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x3", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"x3", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":31 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd3", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":31 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":32 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":33 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":34 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":35 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":36 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":37 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":38 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":39 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":40 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":41 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":42 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":43 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":44 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":45 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":46 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":47 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":48 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":49 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":50 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":51 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":52 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":53 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":54 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":55 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":56 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":57 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":58 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":59 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":60 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":61 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":62 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"bc3", + "value":63 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"<", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":{ + "op":"+", + "left":"x3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + }, + { + "ref":"bc3", + "value":{ + "op":"-", + "left":"bc3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"x3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"x3", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"x3", + "value":0 + }, + { + "ref":"cd3", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd3", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s3", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send4", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"x4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy4", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"x4", + "value":0 + }, + { + "ref":"cd4", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd4", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"<", + "left":"x4", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x4", + "right":1 + }, + "right":30 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"end4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"x4", + "right":30 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":4 + }, + { + "ref":"x4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"x4", + "value":0 + }, + { + "ref":"cd4", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd4", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cd", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd4", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd4", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd4", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":31 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"cd4", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":17 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":24 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":31 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":32 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":33 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":34 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":35 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":36 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":37 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":38 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":39 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":40 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":41 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":42 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":43 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":44 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":45 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":46 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":47 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":48 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":49 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":50 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":51 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":52 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":53 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":54 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":55 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":56 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":57 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":58 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":59 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":60 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":61 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":62 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"bc4", + "value":63 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"<", + "left":"x4", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":{ + "op":"+", + "left":"x4", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"x4", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"bc4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":1 + }, + { + "ref":"bc4", + "value":{ + "op":"-", + "left":"bc4", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"x4", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"x4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"busy4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"x4", + "right":{ + "op":"*", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"bc4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"x4", + "value":0 + }, + { + "ref":"cd4", + "value":{ + "op":"min", + "left":6, + "right":{ + "op":"+", + "left":"cd4", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≥", + "left":"s4", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"bus" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + } + ], + "syncs":[ + { + "synchronise":[ + "cd", + "cd", + "cd", + "cd", + "cd" + ], + "result":"cd" + }, + { + "synchronise":[ + "time", + "time", + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send4", + null, + null, + null, + "send4" + ], + "result":"send4" + }, + { + "synchronise":[ + "end4", + null, + null, + null, + "end4" + ], + "result":"end4" + }, + { + "synchronise":[ + "busy4", + null, + null, + null, + "busy4" + ], + "result":"busy4" + }, + { + "synchronise":[ + "send3", + null, + null, + "send3", + null + ], + "result":"send3" + }, + { + "synchronise":[ + "end3", + null, + null, + "end3", + null + ], + "result":"end3" + }, + { + "synchronise":[ + "busy3", + null, + null, + "busy3", + null + ], + "result":"busy3" + }, + { + "synchronise":[ + "send2", + null, + "send2", + null, + null + ], + "result":"send2" + }, + { + "synchronise":[ + "end2", + null, + "end2", + null, + null + ], + "result":"end2" + }, + { + "synchronise":[ + "busy2", + null, + "busy2", + null, + null + ], + "result":"busy2" + }, + { + "synchronise":[ + "send1", + "send1", + null, + null, + null + ], + "result":"send1" + }, + { + "synchronise":[ + "end1", + "end1", + null, + null, + null + ], + "result":"end1" + }, + { + "synchronise":[ + "busy1", + "busy1", + null, + null, + null + ], + "result":"busy1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/cyclin.jani b/examples/exported-jani-models/cyclin.jani new file mode 100644 index 000000000..25c7a538d --- /dev/null +++ b/examples/exported-jani-models/cyclin.jani @@ -0,0 +1,2359 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"degp" + }, + { + "name":"degc" + }, + { + "name":"degd" + }, + { + "name":"lb" + }, + { + "name":"bb" + }, + { + "name":"cdh1r" + }, + { + "name":"pcdh1r" + }, + { + "name":"removep" + }, + { + "name":"removecki" + }, + { + "name":"donothing" + }, + { + "name":"bind" + } + ], + "constants":[ + { + "name":"N", + "type":"int" + } + ], + "variables":[ + { + "name":"cyclin", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":2, + "right":"N" + } + } + }, + { + "name":"cyclin_bound", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":2, + "right":"N" + } + } + }, + { + "name":"degc", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":2, + "right":"N" + } + } + }, + { + "name":"trim", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":2, + "right":"N" + } + } + }, + { + "name":"dim", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":2, + "right":"N" + } + } + }, + { + "name":"bound1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"min", + "left":"N", + "right":{ + "op":"*", + "left":2, + "right":"N" + } + } + } + }, + { + "name":"bound2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"min", + "left":"N", + "right":{ + "op":"*", + "left":2, + "right":"N" + } + } + } + }, + { + "name":"cdk", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"cdk_cat", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"cdh1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"inact", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"cdc14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":2, + "right":"N" + } + } + }, + { + "name":"cki", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + } + ], + "observables":[ + { + "name":"\"cdc14\"" + }, + { + "name":"\"cdh1\"" + }, + { + "name":"\"cyclin_bound\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"cyclin", + "right":{ + "op":"*", + "left":2, + "right":"N" + } + }, + "right":{ + "op":"=", + "left":"cyclin_bound", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"degc", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"trim", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"dim", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bound1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bound2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cdk", + "right":"N" + } + }, + "right":{ + "op":"=", + "left":"cdk_cat", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cdh1", + "right":"N" + } + }, + "right":{ + "op":"=", + "left":"inact", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cdc14", + "right":{ + "op":"*", + "left":2, + "right":"N" + } + } + }, + "right":{ + "op":"=", + "left":"cki", + "right":"N" + } + } + }, + "automata":[ + { + "name":"base_rates", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"cdc14\"", + "value":"cdc14" + }, + { + "ref":"\"cdh1\"", + "value":"cdh1" + }, + { + "ref":"\"cyclin_bound\"", + "value":"cyclin_bound" + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"degp", + "rate":{ + "exp":0.0050000 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0050000, + "right":0.0050000 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"degc", + "rate":{ + "exp":0.0010000 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0010000, + "right":0.0010000 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"degd", + "rate":{ + "exp":0.0030000 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0030000, + "right":0.0030000 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"lb", + "rate":{ + "exp":0.5000000 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.5000000, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"bb", + "rate":{ + "exp":0.3000000 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.3000000, + "right":0.3000000 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cdh1r", + "rate":{ + "exp":0.0050000 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0050000, + "right":0.0050000 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"pcdh1r", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"removep", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"removecki", + "rate":{ + "exp":0.0100000 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0100000, + "right":0.0100000 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"donothing", + "rate":{ + "exp":0.0170000 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0170000, + "right":0.0170000 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"bind", + "rate":{ + "exp":0.0200000 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0200000, + "right":0.0200000 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"cyclin", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"lb", + "rate":{ + "exp":"cyclin" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"cyclin", + "right":0 + }, + "right":{ + "op":"<", + "left":"cyclin_bound", + "right":{ + "op":"*", + "left":2, + "right":"N" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cyclin", + "right":"cyclin" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cyclin_bound", + "value":{ + "op":"+", + "left":"cyclin_bound", + "right":1 + } + }, + { + "ref":"cyclin", + "value":{ + "op":"-", + "left":"cyclin", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"degp", + "rate":{ + "exp":"cyclin_bound" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"cyclin_bound", + "right":0 + }, + "right":{ + "op":"<", + "left":"degc", + "right":{ + "op":"*", + "left":2, + "right":"N" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cyclin_bound", + "right":"cyclin_bound" + } + }, + "location":"location", + "assignments":[ + { + "ref":"degc", + "value":{ + "op":"+", + "left":"degc", + "right":1 + } + }, + { + "ref":"cyclin_bound", + "value":{ + "op":"-", + "left":"cyclin_bound", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"degd", + "rate":{ + "exp":"cyclin_bound" + }, + "guard":{ + "exp":{ + "op":">", + "left":"cyclin_bound", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cyclin_bound", + "right":"cyclin_bound" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cyclin_bound", + "value":"cyclin_bound" + } + ] + } + ] + }, + { + "location":"location", + "action":"bind", + "rate":{ + "exp":"cyclin_bound" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"cyclin_bound", + "right":0 + }, + "right":{ + "op":"<", + "left":"trim", + "right":{ + "op":"*", + "left":2, + "right":"N" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cyclin_bound", + "right":"cyclin_bound" + } + }, + "location":"location", + "assignments":[ + { + "ref":"trim", + "value":{ + "op":"+", + "left":"trim", + "right":1 + } + }, + { + "ref":"cyclin_bound", + "value":{ + "op":"-", + "left":"cyclin_bound", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"degc", + "rate":{ + "exp":"degc" + }, + "guard":{ + "exp":{ + "op":">", + "left":"degc", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"degc", + "right":"degc" + } + }, + "location":"location", + "assignments":[ + { + "ref":"degc", + "value":{ + "op":"-", + "left":"degc", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"bb", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"trim", + "right":0 + }, + "right":{ + "op":"<", + "left":"dim", + "right":{ + "op":"*", + "left":2, + "right":"N" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"dim", + "value":{ + "op":"+", + "left":"dim", + "right":1 + } + }, + { + "ref":"trim", + "value":{ + "op":"-", + "left":"trim", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"removecki", + "rate":{ + "exp":"dim" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"dim", + "right":0 + }, + "right":{ + "op":"<", + "left":"cyclin_bound", + "right":{ + "op":"*", + "left":2, + "right":"N" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"dim", + "right":"dim" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cyclin_bound", + "value":{ + "op":"+", + "left":"cyclin_bound", + "right":1 + } + }, + { + "ref":"dim", + "value":{ + "op":"-", + "left":"dim", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"donothing", + "rate":{ + "exp":"dim" + }, + "guard":{ + "exp":{ + "op":">", + "left":"dim", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"dim", + "right":"dim" + } + }, + "location":"location", + "assignments":[ + { + "ref":"dim", + "value":"dim" + } + ] + } + ] + } + ] + }, + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"lb", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"bound1", + "right":{ + "op":"min", + "left":"N", + "right":{ + "op":"*", + "left":2, + "right":"N" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"bound1", + "value":{ + "op":"+", + "left":"bound1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"degp", + "rate":{ + "exp":{ + "op":"+", + "left":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + } + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"cyclin_bound", + "right":0 + }, + "right":{ + "op":"≤", + "left":"bound1", + "right":"cyclin_bound" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + }, + "right":{ + "op":"+", + "left":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"bound1", + "value":{ + "op":"-", + "left":"bound1", + "right":1 + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + } + }, + "right":{ + "op":"+", + "left":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + } + } + } + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"bind", + "rate":{ + "exp":{ + "op":"+", + "left":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + } + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"cyclin_bound", + "right":0 + }, + "right":{ + "op":"≤", + "left":"bound1", + "right":"cyclin_bound" + } + }, + "right":{ + "op":"<", + "left":"bound2", + "right":{ + "op":"min", + "left":"N", + "right":{ + "op":"*", + "left":2, + "right":"N" + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + }, + "right":{ + "op":"+", + "left":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"bound1", + "value":{ + "op":"-", + "left":"bound1", + "right":1 + } + }, + { + "ref":"bound2", + "value":{ + "op":"+", + "left":"bound2", + "right":1 + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + } + }, + "right":{ + "op":"+", + "left":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"bound1", + "right":"cyclin_bound" + } + } + } + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"degc", + "rate":{ + "exp":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"bound1", + "right":"cdk_cat" + }, + "right":{ + "op":"/", + "left":"bound2", + "right":"cdk_cat" + } + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":"bound1", + "right":"bound2" + }, + "right":"cdk_cat" + } + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"cdk_cat", + "right":0 + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":"bound1", + "right":"bound2" + }, + "right":"cdk_cat" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":"bound1", + "right":"cdk_cat" + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"bound1", + "right":"cdk_cat" + }, + "right":{ + "op":"/", + "left":"bound2", + "right":"cdk_cat" + } + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":"bound1", + "right":"bound2" + }, + "right":"cdk_cat" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"bound1", + "value":{ + "op":"-", + "left":"bound1", + "right":1 + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":"bound2", + "right":"cdk_cat" + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"bound1", + "right":"cdk_cat" + }, + "right":{ + "op":"/", + "left":"bound2", + "right":"cdk_cat" + } + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":"bound1", + "right":"bound2" + }, + "right":"cdk_cat" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"bound2", + "value":{ + "op":"-", + "left":"bound2", + "right":1 + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":"bound1", + "right":"bound2" + }, + "right":"cdk_cat" + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":"bound1", + "right":"cdk_cat" + }, + "right":{ + "op":"/", + "left":"bound2", + "right":"cdk_cat" + } + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":"bound1", + "right":"bound2" + }, + "right":"cdk_cat" + } + } + } + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"bb", + "rate":{ + "exp":"bound2" + }, + "guard":{ + "exp":{ + "op":">", + "left":"bound2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"bound2", + "right":"bound2" + } + }, + "location":"location", + "assignments":[ + { + "ref":"bound2", + "value":{ + "op":"-", + "left":"bound2", + "right":1 + } + } + ] + } + ] + } + ] + }, + { + "name":"cdk", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"lb", + "rate":{ + "exp":"cdk" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"cdk", + "right":0 + }, + "right":{ + "op":"<", + "left":"cdk_cat", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cdk", + "right":"cdk" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cdk_cat", + "value":{ + "op":"+", + "left":"cdk_cat", + "right":1 + } + }, + { + "ref":"cdk", + "value":{ + "op":"-", + "left":"cdk", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"cdh1r", + "rate":{ + "exp":"cdk_cat" + }, + "guard":{ + "exp":{ + "op":">", + "left":"cdk_cat", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cdk_cat", + "right":"cdk_cat" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cdk_cat", + "value":"cdk_cat" + } + ] + } + ] + }, + { + "location":"location", + "action":"degc", + "rate":{ + "exp":"cdk_cat" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"cdk_cat", + "right":0 + }, + "right":{ + "op":"<", + "left":"cdk", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cdk_cat", + "right":"cdk_cat" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cdk", + "value":{ + "op":"+", + "left":"cdk", + "right":1 + } + }, + { + "ref":"cdk_cat", + "value":{ + "op":"-", + "left":"cdk_cat", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"bb", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":">", + "left":"cdk_cat", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"cdk_cat", + "value":{ + "op":"-", + "left":"cdk_cat", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"removecki", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"cdk", + "right":"N" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"cdk", + "value":{ + "op":"+", + "left":"cdk", + "right":1 + } + } + ] + } + ] + } + ] + }, + { + "name":"cdh1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"degp", + "rate":{ + "exp":"cdh1" + }, + "guard":{ + "exp":{ + "op":">", + "left":"cdh1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cdh1", + "right":"cdh1" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cdh1", + "value":"cdh1" + } + ] + } + ] + }, + { + "location":"location", + "action":"cdh1r", + "rate":{ + "exp":"cdh1" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"cdh1", + "right":0 + }, + "right":{ + "op":"<", + "left":"inact", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cdh1", + "right":"cdh1" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cdh1", + "value":{ + "op":"-", + "left":"cdh1", + "right":1 + } + }, + { + "ref":"inact", + "value":{ + "op":"+", + "left":"inact", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"removep", + "rate":{ + "exp":"cdh1" + }, + "guard":{ + "exp":{ + "op":">", + "left":"cdh1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cdh1", + "right":"cdh1" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cdh1", + "value":"cdh1" + } + ] + } + ] + }, + { + "location":"location", + "action":"pcdh1r", + "rate":{ + "exp":"inact" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"inact", + "right":0 + }, + "right":{ + "op":"<", + "left":"cdh1", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"inact", + "right":"inact" + } + }, + "location":"location", + "assignments":[ + { + "ref":"inact", + "value":{ + "op":"-", + "left":"inact", + "right":1 + } + }, + { + "ref":"cdh1", + "value":{ + "op":"+", + "left":"cdh1", + "right":1 + } + } + ] + } + ] + } + ] + }, + { + "name":"cdc14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pcdh1r", + "rate":{ + "exp":"cdc14" + }, + "guard":{ + "exp":{ + "op":">", + "left":"cdc14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cdc14", + "right":"cdc14" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cdc14", + "value":{ + "op":"-", + "left":"cdc14", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"removep", + "rate":{ + "exp":{ + "op":"-", + "left":{ + "op":"*", + "left":2, + "right":"N" + }, + "right":"cdc14" + } + }, + "guard":{ + "exp":{ + "op":"<", + "left":"cdc14", + "right":{ + "op":"*", + "left":2, + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":{ + "op":"*", + "left":2, + "right":"N" + }, + "right":"cdc14" + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":2, + "right":"N" + }, + "right":"cdc14" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"cdc14", + "value":{ + "op":"+", + "left":"cdc14", + "right":1 + } + } + ] + } + ] + } + ] + }, + { + "name":"cki", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"degd", + "rate":{ + "exp":"cki" + }, + "guard":{ + "exp":{ + "op":">", + "left":"cki", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cki", + "right":"cki" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cki", + "value":{ + "op":"-", + "left":"cki", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"bind", + "rate":{ + "exp":"cki" + }, + "guard":{ + "exp":{ + "op":">", + "left":"cki", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cki", + "right":"cki" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cki", + "value":{ + "op":"-", + "left":"cki", + "right":1 + } + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"base_rates" + }, + { + "automaton":"cyclin" + }, + { + "automaton":"counter" + }, + { + "automaton":"cdk" + }, + { + "automaton":"cdh1" + }, + { + "automaton":"cdc14" + }, + { + "automaton":"cki" + } + ], + "syncs":[ + { + "synchronise":[ + "bind", + "bind", + "bind", + null, + null, + null, + "bind" + ], + "result":"bind" + }, + { + "synchronise":[ + "degd", + "degd", + null, + null, + null, + null, + "degd" + ], + "result":"degd" + }, + { + "synchronise":[ + "pcdh1r", + null, + null, + null, + "pcdh1r", + "pcdh1r", + null + ], + "result":"pcdh1r" + }, + { + "synchronise":[ + "removep", + null, + null, + null, + "removep", + "removep", + null + ], + "result":"removep" + }, + { + "synchronise":[ + "cdh1r", + null, + null, + "cdh1r", + "cdh1r", + null, + null + ], + "result":"cdh1r" + }, + { + "synchronise":[ + "degp", + "degp", + "degp", + null, + "degp", + null, + null + ], + "result":"degp" + }, + { + "synchronise":[ + "degc", + "degc", + "degc", + "degc", + null, + null, + null + ], + "result":"degc" + }, + { + "synchronise":[ + "lb", + "lb", + "lb", + "lb", + null, + null, + null + ], + "result":"lb" + }, + { + "synchronise":[ + "bb", + "bb", + "bb", + "bb", + null, + null, + null + ], + "result":"bb" + }, + { + "synchronise":[ + "removecki", + "removecki", + null, + "removecki", + null, + null, + null + ], + "result":"removecki" + }, + { + "synchronise":[ + "donothing", + "donothing", + null, + null, + null, + null, + null + ], + "result":"donothing" + } + ] + } +} diff --git a/examples/exported-jani-models/dice.jani b/examples/exported-jani-models/dice.jani new file mode 100644 index 000000000..4a921fb69 --- /dev/null +++ b/examples/exported-jani-models/dice.jani @@ -0,0 +1,439 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"d", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + } + ], + "observables":[ + { + "name":"\"coin_flips\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":0 + }, + "right":{ + "op":"=", + "left":"d", + "right":0 + } + } + }, + "automata":[ + { + "name":"die", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"coin_flips\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"<", + "left":"s", + "right":7 + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":7 + }, + { + "ref":"d", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":7 + }, + { + "ref":"d", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":7 + }, + { + "ref":"d", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":7 + }, + { + "ref":"d", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":7 + }, + { + "ref":"d", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":7 + }, + { + "ref":"d", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":7 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"die" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/dining_crypt10.jani b/examples/exported-jani-models/dining_crypt10.jani new file mode 100644 index 000000000..bcfe6e5b1 --- /dev/null +++ b/examples/exported-jani-models/dining_crypt10.jani @@ -0,0 +1,3994 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"done" + } + ], + "variables":[ + { + "name":"pay", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":10 + } + }, + { + "name":"coin1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"coin1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree10", + "right":0 + } + } + }, + "automata":[ + { + "name":"crypt1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"crypt2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"agree5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"agree5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"agree6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"agree6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"agree7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"agree7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin8", + "right":"coin9" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + }, + { + "ref":"agree8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin8", + "right":"coin9" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin8", + "right":"coin9" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin8", + "right":"coin9" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + }, + { + "ref":"agree8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin9", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":0 + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin9", + "right":"coin10" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":9 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + }, + { + "ref":"agree9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":0 + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin9", + "right":"coin10" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":9 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":0 + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin9", + "right":"coin10" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":9 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":0 + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin9", + "right":"coin10" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":9 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + }, + { + "ref":"agree9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin10", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin10", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":0 + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin10", + "right":"coin1" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + }, + { + "ref":"agree10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":0 + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin10", + "right":"coin1" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":0 + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin10", + "right":"coin1" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":0 + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin10", + "right":"coin1" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + }, + { + "ref":"agree10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"crypt1" + }, + { + "automaton":"crypt2" + }, + { + "automaton":"crypt3" + }, + { + "automaton":"crypt4" + }, + { + "automaton":"crypt5" + }, + { + "automaton":"crypt6" + }, + { + "automaton":"crypt7" + }, + { + "automaton":"crypt8" + }, + { + "automaton":"crypt9" + }, + { + "automaton":"crypt10" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/dining_crypt15.jani b/examples/exported-jani-models/dining_crypt15.jani new file mode 100644 index 000000000..6a50dfe99 --- /dev/null +++ b/examples/exported-jani-models/dining_crypt15.jani @@ -0,0 +1,6044 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"done" + } + ], + "variables":[ + { + "name":"pay", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"coin1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"coin1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree15", + "right":0 + } + } + }, + "automata":[ + { + "name":"crypt1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"crypt2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"agree5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"agree5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"agree6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"agree6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"agree7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"agree7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin8", + "right":"coin9" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + }, + { + "ref":"agree8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin8", + "right":"coin9" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin8", + "right":"coin9" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin8", + "right":"coin9" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + }, + { + "ref":"agree8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin9", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":0 + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin9", + "right":"coin10" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":9 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + }, + { + "ref":"agree9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":0 + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin9", + "right":"coin10" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":9 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":0 + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin9", + "right":"coin10" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":9 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":0 + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin9", + "right":"coin10" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":9 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + }, + { + "ref":"agree9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin10", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin10", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":0 + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin10", + "right":"coin11" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + }, + { + "ref":"agree10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":0 + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin11", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin10", + "right":"coin11" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":0 + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin10", + "right":"coin11" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":0 + }, + "right":{ + "op":">", + "left":"coin10", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin11", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin10", + "right":"coin11" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + }, + { + "ref":"agree10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin11", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin11", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s11", + "right":0 + }, + "right":{ + "op":">", + "left":"coin11", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin11", + "right":"coin12" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":11 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + }, + { + "ref":"agree11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s11", + "right":0 + }, + "right":{ + "op":">", + "left":"coin11", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin12", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin11", + "right":"coin12" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":11 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s11", + "right":0 + }, + "right":{ + "op":">", + "left":"coin11", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin11", + "right":"coin12" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":11 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s11", + "right":0 + }, + "right":{ + "op":">", + "left":"coin11", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin12", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin11", + "right":"coin12" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":11 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + }, + { + "ref":"agree11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin12", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin12", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s12", + "right":0 + }, + "right":{ + "op":">", + "left":"coin12", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin12", + "right":"coin13" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":12 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + }, + { + "ref":"agree12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s12", + "right":0 + }, + "right":{ + "op":">", + "left":"coin12", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin13", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin12", + "right":"coin13" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":12 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s12", + "right":0 + }, + "right":{ + "op":">", + "left":"coin12", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin12", + "right":"coin13" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":12 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s12", + "right":0 + }, + "right":{ + "op":">", + "left":"coin12", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin13", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin12", + "right":"coin13" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":12 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + }, + { + "ref":"agree12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin13", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin13", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s13", + "right":0 + }, + "right":{ + "op":">", + "left":"coin13", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin13", + "right":"coin14" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":13 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + }, + { + "ref":"agree13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s13", + "right":0 + }, + "right":{ + "op":">", + "left":"coin13", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin14", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin13", + "right":"coin14" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":13 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s13", + "right":0 + }, + "right":{ + "op":">", + "left":"coin13", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin13", + "right":"coin14" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":13 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s13", + "right":0 + }, + "right":{ + "op":">", + "left":"coin13", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin14", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin13", + "right":"coin14" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":13 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + }, + { + "ref":"agree13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin14", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin14", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s14", + "right":0 + }, + "right":{ + "op":">", + "left":"coin14", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin14", + "right":"coin15" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":14 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + }, + { + "ref":"agree14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s14", + "right":0 + }, + "right":{ + "op":">", + "left":"coin14", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin15", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin14", + "right":"coin15" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":14 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s14", + "right":0 + }, + "right":{ + "op":">", + "left":"coin14", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin14", + "right":"coin15" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":14 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s14", + "right":0 + }, + "right":{ + "op":">", + "left":"coin14", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin15", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin14", + "right":"coin15" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":14 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + }, + { + "ref":"agree14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin15", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin15", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s15", + "right":0 + }, + "right":{ + "op":">", + "left":"coin15", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin15", + "right":"coin1" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":15 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + }, + { + "ref":"agree15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s15", + "right":0 + }, + "right":{ + "op":">", + "left":"coin15", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin15", + "right":"coin1" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":15 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s15", + "right":0 + }, + "right":{ + "op":">", + "left":"coin15", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin15", + "right":"coin1" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":15 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s15", + "right":0 + }, + "right":{ + "op":">", + "left":"coin15", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin15", + "right":"coin1" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":15 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + }, + { + "ref":"agree15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"crypt1" + }, + { + "automaton":"crypt2" + }, + { + "automaton":"crypt3" + }, + { + "automaton":"crypt4" + }, + { + "automaton":"crypt5" + }, + { + "automaton":"crypt6" + }, + { + "automaton":"crypt7" + }, + { + "automaton":"crypt8" + }, + { + "automaton":"crypt9" + }, + { + "automaton":"crypt10" + }, + { + "automaton":"crypt11" + }, + { + "automaton":"crypt12" + }, + { + "automaton":"crypt13" + }, + { + "automaton":"crypt14" + }, + { + "automaton":"crypt15" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/dining_crypt3.jani b/examples/exported-jani-models/dining_crypt3.jani new file mode 100644 index 000000000..8637ca89f --- /dev/null +++ b/examples/exported-jani-models/dining_crypt3.jani @@ -0,0 +1,1208 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"done" + } + ], + "variables":[ + { + "name":"pay", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"coin1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"coin1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree3", + "right":0 + } + } + }, + "automata":[ + { + "name":"crypt1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"crypt2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin1" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin1" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin1" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin1" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"crypt1" + }, + { + "automaton":"crypt2" + }, + { + "automaton":"crypt3" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/dining_crypt4.jani b/examples/exported-jani-models/dining_crypt4.jani new file mode 100644 index 000000000..e8ab2624a --- /dev/null +++ b/examples/exported-jani-models/dining_crypt4.jani @@ -0,0 +1,1600 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"done" + } + ], + "variables":[ + { + "name":"pay", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"coin1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"coin1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree4", + "right":0 + } + } + }, + "automata":[ + { + "name":"crypt1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"crypt2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin1" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin1" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin1" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin1" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"crypt1" + }, + { + "automaton":"crypt2" + }, + { + "automaton":"crypt3" + }, + { + "automaton":"crypt4" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/dining_crypt5.jani b/examples/exported-jani-models/dining_crypt5.jani new file mode 100644 index 000000000..19c777a48 --- /dev/null +++ b/examples/exported-jani-models/dining_crypt5.jani @@ -0,0 +1,1994 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"done" + } + ], + "variables":[ + { + "name":"pay", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"coin1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"coin1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree5", + "right":0 + } + } + }, + "automata":[ + { + "name":"crypt1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"crypt2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":"coin1" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"agree5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin5", + "right":"coin1" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":"coin1" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin5", + "right":"coin1" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"agree5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"crypt1" + }, + { + "automaton":"crypt2" + }, + { + "automaton":"crypt3" + }, + { + "automaton":"crypt4" + }, + { + "automaton":"crypt5" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/dining_crypt6.jani b/examples/exported-jani-models/dining_crypt6.jani new file mode 100644 index 000000000..a4eca1197 --- /dev/null +++ b/examples/exported-jani-models/dining_crypt6.jani @@ -0,0 +1,2390 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"done" + } + ], + "variables":[ + { + "name":"pay", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"coin1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"coin1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree6", + "right":0 + } + } + }, + "automata":[ + { + "name":"crypt1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"crypt2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"agree5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"agree5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":"coin1" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"agree6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin6", + "right":"coin1" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":"coin1" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin6", + "right":"coin1" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"agree6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"crypt1" + }, + { + "automaton":"crypt2" + }, + { + "automaton":"crypt3" + }, + { + "automaton":"crypt4" + }, + { + "automaton":"crypt5" + }, + { + "automaton":"crypt6" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/dining_crypt7.jani b/examples/exported-jani-models/dining_crypt7.jani new file mode 100644 index 000000000..8ac4b3af0 --- /dev/null +++ b/examples/exported-jani-models/dining_crypt7.jani @@ -0,0 +1,2788 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"done" + } + ], + "variables":[ + { + "name":"pay", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"coin1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"coin1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree7", + "right":0 + } + } + }, + "automata":[ + { + "name":"crypt1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"crypt2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"agree5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"agree5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"agree6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"agree6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":"coin1" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"agree7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin7", + "right":"coin1" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":"coin1" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin7", + "right":"coin1" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"agree7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"crypt1" + }, + { + "automaton":"crypt2" + }, + { + "automaton":"crypt3" + }, + { + "automaton":"crypt4" + }, + { + "automaton":"crypt5" + }, + { + "automaton":"crypt6" + }, + { + "automaton":"crypt7" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/dining_crypt8.jani b/examples/exported-jani-models/dining_crypt8.jani new file mode 100644 index 000000000..35bdccbdd --- /dev/null +++ b/examples/exported-jani-models/dining_crypt8.jani @@ -0,0 +1,3188 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"done" + } + ], + "variables":[ + { + "name":"pay", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"coin1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"coin1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree8", + "right":0 + } + } + }, + "automata":[ + { + "name":"crypt1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"crypt2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"agree5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"agree5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"agree6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"agree6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"agree7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"agree7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin8", + "right":"coin1" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + }, + { + "ref":"agree8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin8", + "right":"coin1" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin8", + "right":"coin1" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin8", + "right":"coin1" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + }, + { + "ref":"agree8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"crypt1" + }, + { + "automaton":"crypt2" + }, + { + "automaton":"crypt3" + }, + { + "automaton":"crypt4" + }, + { + "automaton":"crypt5" + }, + { + "automaton":"crypt6" + }, + { + "automaton":"crypt7" + }, + { + "automaton":"crypt8" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/dining_crypt9.jani b/examples/exported-jani-models/dining_crypt9.jani new file mode 100644 index 000000000..50d7b08b9 --- /dev/null +++ b/examples/exported-jani-models/dining_crypt9.jani @@ -0,0 +1,3590 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"done" + } + ], + "variables":[ + { + "name":"pay", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":9 + } + }, + { + "name":"coin1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"coin9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"agree9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"coin1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"agree9", + "right":0 + } + } + }, + "automata":[ + { + "name":"crypt1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin1", + "right":"coin2" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"agree1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"crypt2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"coin2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin2", + "right":"coin3" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"agree2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":">", + "left":"coin3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin3", + "right":"coin4" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"agree3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":">", + "left":"coin4", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin4", + "right":"coin5" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"agree4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"agree5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":0 + }, + "right":{ + "op":">", + "left":"coin5", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin5", + "right":"coin6" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"agree5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"agree6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":0 + }, + "right":{ + "op":">", + "left":"coin6", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin6", + "right":"coin7" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"agree6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"agree7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":0 + }, + "right":{ + "op":">", + "left":"coin7", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin7", + "right":"coin8" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"agree7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin8", + "right":"coin9" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + }, + { + "ref":"agree8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin8", + "right":"coin9" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin8", + "right":"coin9" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":0 + }, + "right":{ + "op":">", + "left":"coin8", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin8", + "right":"coin9" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + }, + { + "ref":"agree8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"crypt9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"coin9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"coin9", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":0 + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin9", + "right":"coin1" + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":9 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + }, + { + "ref":"agree9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":0 + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin9", + "right":"coin1" + } + } + }, + "right":{ + "op":"≠", + "left":"pay", + "right":9 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":0 + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coin9", + "right":"coin1" + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":9 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":0 + }, + "right":{ + "op":">", + "left":"coin9", + "right":0 + } + }, + "right":{ + "op":">", + "left":"coin1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"coin9", + "right":"coin1" + } + } + }, + "right":{ + "op":"=", + "left":"pay", + "right":9 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + }, + { + "ref":"agree9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"crypt1" + }, + { + "automaton":"crypt2" + }, + { + "automaton":"crypt3" + }, + { + "automaton":"crypt4" + }, + { + "automaton":"crypt5" + }, + { + "automaton":"crypt6" + }, + { + "automaton":"crypt7" + }, + { + "automaton":"crypt8" + }, + { + "automaton":"crypt9" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/embedded.jani b/examples/exported-jani-models/embedded.jani new file mode 100644 index 000000000..6d2d2df3b --- /dev/null +++ b/examples/exported-jani-models/embedded.jani @@ -0,0 +1,1755 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"tau__" + }, + { + "name":"input_reboot" + }, + { + "name":"timeout" + }, + { + "name":"output_reboot" + } + ], + "constants":[ + { + "name":"MAX_COUNT", + "type":"int" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"i", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"m", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"count", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":"MAX_COUNT", + "right":1 + } + } + }, + { + "name":"comp", + "type":"bool" + }, + { + "name":"reqi", + "type":"bool" + }, + { + "name":"reqo", + "type":"bool" + }, + { + "name":"o", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"\"up\"" + }, + { + "name":"\"danger\"" + }, + { + "name":"\"down\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"i", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"m", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"count", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"comp", + "right":true + } + }, + "right":{ + "op":"=", + "left":"reqi", + "right":true + } + }, + "right":{ + "op":"=", + "left":"reqo", + "right":false + } + }, + "right":{ + "op":"=", + "left":"o", + "right":2 + } + } + }, + "automata":[ + { + "name":"sensors", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"up\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i", + "right":2 + }, + "right":{ + "op":"<", + "left":"s", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"count", + "right":{ + "op":"+", + "left":"MAX_COUNT", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":2 + }, + "right":{ + "op":"<", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"m", + "right":0 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i", + "right":2 + }, + "right":{ + "op":"<", + "left":"s", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"count", + "right":{ + "op":"+", + "left":"MAX_COUNT", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":2 + }, + "right":{ + "op":"<", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"m", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"i", + "right":1 + }, + "right":{ + "op":"=", + "left":"o", + "right":1 + } + } + } + } + }, + { + "op":"/", + "left":1, + "right":3600 + }, + 0 + ] + } + }, + { + "ref":"\"danger\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i", + "right":2 + }, + "right":{ + "op":"<", + "left":"s", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"count", + "right":{ + "op":"+", + "left":"MAX_COUNT", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":2 + }, + "right":{ + "op":"<", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"m", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"i", + "right":1 + }, + "right":{ + "op":"=", + "left":"o", + "right":1 + } + } + }, + { + "op":"/", + "left":1, + "right":3600 + }, + 0 + ] + } + }, + { + "ref":"\"down\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i", + "right":2 + }, + "right":{ + "op":"<", + "left":"s", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"count", + "right":{ + "op":"+", + "left":"MAX_COUNT", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":2 + }, + "right":{ + "op":"<", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"m", + "right":0 + } + }, + { + "op":"/", + "left":1, + "right":3600 + }, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":"s", + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":30, + "right":24 + }, + "right":60 + }, + "right":60 + } + } + } + }, + "guard":{ + "exp":{ + "op":">", + "left":"s", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":"s", + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":30, + "right":24 + }, + "right":60 + }, + "right":60 + } + } + }, + "right":{ + "op":"*", + "left":"s", + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":30, + "right":24 + }, + "right":60 + }, + "right":60 + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"-", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"proci", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":365, + "right":24 + }, + "right":60 + }, + "right":60 + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"i", + "right":0 + }, + "right":{ + "op":"≥", + "left":"s", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":365, + "right":24 + }, + "right":60 + }, + "right":60 + } + }, + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":365, + "right":24 + }, + "right":60 + }, + "right":60 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":24, + "right":60 + }, + "right":60 + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i", + "right":2 + }, + "right":{ + "op":"≥", + "left":"s", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":24, + "right":60 + }, + "right":60 + } + }, + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":24, + "right":60 + }, + "right":60 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"input_reboot", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":30 + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i", + "right":1 + }, + "right":{ + "op":"≥", + "left":"s", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":30 + }, + "right":{ + "op":"/", + "left":1, + "right":30 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":2 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"actuators", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":"a", + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":30 + }, + "right":24 + }, + "right":60 + }, + "right":60 + } + } + } + }, + "guard":{ + "exp":{ + "op":">", + "left":"a", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":"a", + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":30 + }, + "right":24 + }, + "right":60 + }, + "right":60 + } + } + }, + "right":{ + "op":"*", + "left":"a", + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":2, + "right":30 + }, + "right":24 + }, + "right":60 + }, + "right":60 + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":{ + "op":"-", + "left":"a", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"procm", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":365, + "right":24 + }, + "right":60 + }, + "right":60 + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"m", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":365, + "right":24 + }, + "right":60 + }, + "right":60 + } + }, + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":365, + "right":24 + }, + "right":60 + }, + "right":60 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"m", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"timeout", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":60 + } + }, + "guard":{ + "exp":"comp" + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":60 + }, + "right":{ + "op":"/", + "left":1, + "right":60 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"count", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"timeout", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":60 + } + }, + "guard":{ + "exp":{ + "op":"¬", + "exp":"comp" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":60 + }, + "right":{ + "op":"/", + "left":1, + "right":60 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"count", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"count", + "right":1 + }, + "right":{ + "op":"+", + "left":"MAX_COUNT", + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"bus", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"input_reboot", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"comp", + "value":{ + "op":"∨", + "left":"comp", + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"reqo" + } + } + } + }, + { + "ref":"reqi", + "value":true + }, + { + "ref":"reqo", + "value":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":2 + }, + "right":{ + "op":"≥", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":"reqo", + "right":{ + "op":"=", + "left":"m", + "right":1 + } + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"output_reboot", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"comp", + "value":{ + "op":"∨", + "left":"comp", + "right":{ + "op":"∧", + "left":"reqi", + "right":{ + "op":"=", + "left":"m", + "right":1 + } + } + } + }, + { + "ref":"reqi", + "value":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i", + "right":2 + }, + "right":{ + "op":"≥", + "left":"s", + "right":2 + } + }, + "right":{ + "op":"∧", + "left":"reqi", + "right":{ + "op":"=", + "left":"m", + "right":0 + } + } + } + }, + { + "ref":"reqo", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"timeout", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"comp", + "value":{ + "op":"∧", + "left":{ + "op":"∧", + "left":"reqi", + "right":{ + "op":"¬", + "exp":"reqo" + } + }, + "right":{ + "op":"=", + "left":"m", + "right":1 + } + } + }, + { + "ref":"reqi", + "value":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i", + "right":2 + }, + "right":{ + "op":"≥", + "left":"s", + "right":2 + } + }, + "right":{ + "op":"∧", + "left":"reqi", + "right":{ + "op":"∨", + "left":"reqo", + "right":{ + "op":"=", + "left":"m", + "right":0 + } + } + } + } + }, + { + "ref":"reqo", + "value":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":2 + }, + "right":{ + "op":"≥", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":"reqo", + "right":{ + "op":"∧", + "left":"reqi", + "right":{ + "op":"=", + "left":"m", + "right":1 + } + } + } + } + } + ] + } + ] + } + ] + }, + { + "name":"proco", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":365, + "right":24 + }, + "right":60 + }, + "right":60 + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"o", + "right":0 + }, + "right":{ + "op":"≥", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":365, + "right":24 + }, + "right":60 + }, + "right":60 + } + }, + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":{ + "op":"*", + "left":365, + "right":24 + }, + "right":60 + }, + "right":60 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":24, + "right":60 + }, + "right":60 + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":2 + }, + "right":{ + "op":"≥", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":24, + "right":60 + }, + "right":60 + } + }, + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":{ + "op":"*", + "left":24, + "right":60 + }, + "right":60 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"output_reboot", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":30 + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":1 + }, + "right":{ + "op":"≥", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":30 + }, + "right":{ + "op":"/", + "left":1, + "right":30 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":2 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"sensors" + }, + { + "automaton":"proci" + }, + { + "automaton":"actuators" + }, + { + "automaton":"procm" + }, + { + "automaton":"bus" + }, + { + "automaton":"proco" + } + ], + "syncs":[ + { + "synchronise":[ + null, + null, + null, + null, + "output_reboot", + "output_reboot" + ], + "result":"output_reboot" + }, + { + "synchronise":[ + null, + "input_reboot", + null, + null, + "input_reboot", + null + ], + "result":"input_reboot" + }, + { + "synchronise":[ + null, + null, + null, + "timeout", + "timeout", + null + ], + "result":"timeout" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/fair_exchange10.jani b/examples/exported-jani-models/fair_exchange10.jani new file mode 100644 index 000000000..4c2ed355c --- /dev/null +++ b/examples/exported-jani-models/fair_exchange10.jani @@ -0,0 +1,508 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"mA", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":10 + } + }, + { + "name":"mB", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":10 + } + }, + { + "name":"turn", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"d", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"i", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":10 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"mA", + "right":0 + }, + "right":{ + "op":"=", + "left":"mB", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"turn", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"d", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"i", + "right":0 + } + } + }, + "automata":[ + { + "name":"parties", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"turn", + "right":0 + }, + "right":{ + "op":"<", + "left":"mA", + "right":10 + } + }, + "right":{ + "op":"=", + "left":"d", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"turn", + "value":1 + }, + { + "ref":"mA", + "value":{ + "op":"+", + "left":"mA", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"turn", + "right":1 + }, + "right":{ + "op":"<", + "left":"mA", + "right":10 + } + }, + "right":{ + "op":"=", + "left":"d", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"turn", + "value":0 + }, + { + "ref":"mB", + "value":"mA" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"date", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"d", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"third_party", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i", + "right":0 + }, + "right":{ + "op":"=", + "left":"d", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":10 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"parties" + }, + { + "automaton":"date" + }, + { + "automaton":"third_party" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/fgf.jani b/examples/exported-jani-models/fgf.jani new file mode 100644 index 000000000..555b63e01 --- /dev/null +++ b/examples/exported-jani-models/fgf.jani @@ -0,0 +1,6102 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"fgf_bind" + }, + { + "name":"fgf_rel" + }, + { + "name":"tau__" + }, + { + "name":"fgfr_bind" + }, + { + "name":"fgfr_rel" + }, + { + "name":"plc_bind" + }, + { + "name":"plc_rel" + }, + { + "name":"src_rel" + }, + { + "name":"grb_rel" + }, + { + "name":"shp_rel" + }, + { + "name":"src_bind" + }, + { + "name":"grb_bind" + }, + { + "name":"shp_bind" + }, + { + "name":"spry_bind_frs" + }, + { + "name":"spry_rel_frs" + }, + { + "name":"cbl_bind_frs" + }, + { + "name":"cbl_rel_frs" + }, + { + "name":"grb_bind_frs" + }, + { + "name":"grb_rel_frs" + }, + { + "name":"spry_dephos" + }, + { + "name":"sos_bind_frs" + }, + { + "name":"sos_rel_frs" + }, + { + "name":"spry_bind" + }, + { + "name":"spry_rel" + }, + { + "name":"cbl_bind_src" + }, + { + "name":"cbl_rel_src" + }, + { + "name":"grb_bind_src" + }, + { + "name":"grb_rel_src" + }, + { + "name":"sos_bind_src" + }, + { + "name":"sos_rel_src" + }, + { + "name":"cbl_bind" + }, + { + "name":"cbl_rel" + }, + { + "name":"grb_bind_spry" + }, + { + "name":"grb_rel_spry" + }, + { + "name":"sos_bind_spry" + }, + { + "name":"sos_rel_spry" + }, + { + "name":"sos_bind" + }, + { + "name":"sos_rel" + } + ], + "variables":[ + { + "name":"FGF", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"FGFR", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"degFGFR", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"FGFR_FGF", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"FGFR_PLC", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"Y653P", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"Y654P", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"Y766P", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"PLC", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"relocFRS2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"degFRS2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"FRS2_Ubi", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"Y196P", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"Y306P", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"Y471P", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"FRS2_FGFR", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"FRS2_GRB", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"FRS2_SHP", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"FRS2_SRC", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"SRC", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"SPRY", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"app", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"CBL", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"SHP", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"GRB", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"SOS", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"bindings\"" + }, + { + "name":"\"bound\"" + }, + { + "name":"\"time\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"FGF", + "right":1 + }, + "right":{ + "op":"=", + "left":"FGFR", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"degFGFR", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FGFR_FGF", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FGFR_PLC", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"Y653P", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"Y654P", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"Y766P", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"PLC", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"relocFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_Ubi", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"Y196P", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"Y306P", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"Y471P", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_FGFR", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_GRB", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SHP", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"SRC", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"SPRY", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"app", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"CBL", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"SHP", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"GRB", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"SOS", + "right":1 + } + } + }, + "automata":[ + { + "name":"FGF", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"bound\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"FRS2_GRB", + "right":0 + }, + "right":{ + "op":"=", + "left":"relocFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + 1, + 0 + ] + } + }, + { + "ref":"\"time\"", + "value":60 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"fgf_bind", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"FGF", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FGF", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"fgf_rel", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"FGF", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FGF", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"FGFR", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"fgf_bind", + "rate":{ + "exp":5000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"degFGFR", + "right":0 + }, + "right":{ + "op":"=", + "left":"FGFR_FGF", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":5000, + "right":5000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FGFR_FGF", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"fgf_rel", + "rate":{ + "exp":0.0020000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"degFGFR", + "right":0 + }, + "right":{ + "op":"=", + "left":"FGFR_FGF", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0020000, + "right":0.0020000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FGFR_FGF", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.1000000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"degFGFR", + "right":0 + }, + "right":{ + "op":"=", + "left":"FGFR_FGF", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"Y653P", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.1000000, + "right":0.1000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Y653P", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.1000000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"degFGFR", + "right":0 + }, + "right":{ + "op":"=", + "left":"FGFR_FGF", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"Y654P", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.1000000, + "right":0.1000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Y654P", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":70 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"degFGFR", + "right":0 + }, + "right":{ + "op":"=", + "left":"Y653P", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"Y654P", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"Y766P", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":70, + "right":70 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Y766P", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"fgfr_bind", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"degFGFR", + "right":0 + }, + "right":{ + "op":"=", + "left":"FGFR", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FGFR", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"fgfr_rel", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"degFGFR", + "right":0 + }, + "right":{ + "op":"=", + "left":"FGFR", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FGFR", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"plc_bind", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"degFGFR", + "right":0 + }, + "right":{ + "op":"=", + "left":"Y766P", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"FGFR_PLC", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FGFR_PLC", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"plc_rel", + "rate":{ + "exp":0.0200000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"degFGFR", + "right":0 + }, + "right":{ + "op":"=", + "left":"FGFR_PLC", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0200000, + "right":0.0200000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FGFR_PLC", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":60, + "right":60 + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"degFGFR", + "right":0 + }, + "right":{ + "op":"=", + "left":"FGFR_PLC", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":60, + "right":60 + } + }, + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":60, + "right":60 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"degFGFR", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"PLC", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"plc_bind", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"PLC", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"PLC", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"plc_rel", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"PLC", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"PLC", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"FRS2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"fgfr_bind", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_FGFR", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_FGFR", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"fgfr_rel", + "rate":{ + "exp":0.0010000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_FGFR", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0010000, + "right":0.0010000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_FGFR", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.2000000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"Y653P", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"Y654P", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"FRS2_FGFR", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"Y196P", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.2000000, + "right":0.2000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Y196P", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.2000000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"Y653P", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"Y654P", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"FRS2_FGFR", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"Y306P", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.2000000, + "right":0.2000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Y306P", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.2000000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"Y653P", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"Y654P", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"FRS2_FGFR", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"Y471P", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.2000000, + "right":0.2000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Y471P", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":12 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SHP", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"Y196P", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":12, + "right":12 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Y196P", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"src_rel", + "rate":{ + "exp":12 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SHP", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"Y196P", + "right":1 + } + }, + "right":{ + "op":">", + "left":"FRS2_SRC", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":12, + "right":12 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Y196P", + "value":0 + }, + { + "ref":"FRS2_SRC", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":12 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SHP", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"Y306P", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"FRS2_GRB", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":12, + "right":12 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Y306P", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"grb_rel", + "rate":{ + "exp":12 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SHP", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"Y306P", + "right":1 + } + }, + "right":{ + "op":">", + "left":"FRS2_GRB", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":12, + "right":12 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Y306P", + "value":0 + }, + { + "ref":"FRS2_GRB", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"shp_rel", + "rate":{ + "exp":12 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SHP", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"Y471P", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":12, + "right":12 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Y471P", + "value":0 + }, + { + "ref":"FRS2_SHP", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"src_bind", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"Y196P", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SRC", + "value":"SRC" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"src_rel", + "rate":{ + "exp":0.0200000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"FRS2_SRC", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0200000, + "right":0.0200000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SRC", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"grb_bind", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"Y306P", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"FRS2_GRB", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_GRB", + "value":"GRB" + } + ], + "observables":[ + { + "ref":"\"bindings\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"degFGFR", + "right":0 + }, + "right":{ + "op":"=", + "left":"relocFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"grb_rel", + "rate":{ + "exp":0.0200000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"FRS2_GRB", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0200000, + "right":0.0200000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_GRB", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"shp_bind", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"Y471P", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SHP", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SHP", + "value":"SHP" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"shp_rel", + "rate":{ + "exp":0.0200000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SHP", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0200000, + "right":0.0200000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SHP", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":15, + "right":60 + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"FRS2_SRC", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":15, + "right":60 + } + }, + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":15, + "right":60 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"relocFRS2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"spry_bind_frs", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SRC", + "value":{ + "op":"+", + "left":"SPRY", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"spry_rel_frs", + "rate":{ + "exp":0.0100000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0100000, + "right":0.0100000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SRC", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"spry_rel_frs", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"FRS2_SRC", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SRC", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SRC", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cbl_bind_frs", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"FRS2_SRC", + "right":3 + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SRC", + "value":{ + "op":"+", + "left":"FRS2_SRC", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cbl_rel_frs", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"FRS2_SRC", + "right":4 + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SRC", + "value":{ + "op":"-", + "left":"FRS2_SRC", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"grb_bind_frs", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"FRS2_SRC", + "right":3 + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SRC", + "value":{ + "op":"+", + "left":"FRS2_SRC", + "right":{ + "op":"*", + "left":2, + "right":"GRB" + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"grb_rel_frs", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"FRS2_SRC", + "right":5 + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SRC", + "value":{ + "op":"-", + "left":"FRS2_SRC", + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"grb_rel_frs", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"FRS2_SRC", + "right":7 + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SRC", + "value":{ + "op":"-", + "left":"FRS2_SRC", + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.0008500 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"FRS2_SRC", + "right":4 + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":8 + } + } + }, + "right":{ + "op":"=", + "left":"FRS2_Ubi", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0008500, + "right":0.0008500 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_Ubi", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":5, + "right":60 + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_Ubi", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":5, + "right":60 + } + }, + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":5, + "right":60 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"degFRS2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"spry_dephos", + "rate":{ + "exp":12 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_SHP", + "right":1 + } + }, + "right":{ + "op":">", + "left":"FRS2_SRC", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":12, + "right":12 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SRC", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"sos_bind_frs", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_GRB", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_GRB", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"sos_rel_frs", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"FRS2_GRB", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_GRB", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"sos_bind_frs", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"FRS2_SRC", + "right":5 + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SRC", + "value":{ + "op":"+", + "left":"FRS2_SRC", + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"sos_rel_frs", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"relocFRS2", + "right":0 + }, + "right":{ + "op":"=", + "left":"degFRS2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"FRS2_SRC", + "right":7 + }, + "right":{ + "op":"=", + "left":"FRS2_SRC", + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"FRS2_SRC", + "value":{ + "op":"-", + "left":"FRS2_SRC", + "right":2 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"SRC", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"src_bind", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":">", + "left":"SRC", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SRC", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"src_rel", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"SRC", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SRC", + "value":"FRS2_SRC" + } + ] + } + ] + }, + { + "location":"location", + "action":"spry_bind", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"SRC", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SRC", + "value":{ + "op":"+", + "left":"SPRY", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"spry_rel", + "rate":{ + "exp":0.0100000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"SRC", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0100000, + "right":0.0100000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SRC", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"spry_rel", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":">", + "left":"SRC", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SRC", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"SRC", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SRC", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cbl_bind_src", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"SRC", + "right":3 + }, + "right":{ + "op":"=", + "left":"SRC", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"SRC", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SRC", + "value":{ + "op":"+", + "left":"SRC", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cbl_rel_src", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"SRC", + "right":4 + }, + "right":{ + "op":"=", + "left":"SRC", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"SRC", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SRC", + "value":{ + "op":"-", + "left":"SRC", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"grb_bind_src", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"SRC", + "right":3 + }, + "right":{ + "op":"=", + "left":"SRC", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SRC", + "value":{ + "op":"+", + "left":"SRC", + "right":{ + "op":"*", + "left":2, + "right":"GRB" + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"grb_rel_src", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"SRC", + "right":5 + }, + "right":{ + "op":"=", + "left":"SRC", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SRC", + "value":{ + "op":"-", + "left":"SRC", + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"grb_rel_src", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"SRC", + "right":7 + }, + "right":{ + "op":"=", + "left":"SRC", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SRC", + "value":{ + "op":"-", + "left":"SRC", + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"sos_bind_src", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"SRC", + "right":5 + }, + "right":{ + "op":"=", + "left":"SRC", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SRC", + "value":{ + "op":"+", + "left":"SRC", + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"sos_rel_src", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"SRC", + "right":7 + }, + "right":{ + "op":"=", + "left":"SRC", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SRC", + "value":{ + "op":"-", + "left":"SRC", + "right":2 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"SPRY", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"spry_bind", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":">", + "left":"SPRY", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SPRY", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"spry_bind_frs", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":">", + "left":"SPRY", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SPRY", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"spry_rel", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"SPRY", + "right":0 + }, + "right":{ + "op":">", + "left":"SRC", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SPRY", + "value":{ + "op":"-", + "left":"SRC", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"spry_rel_frs", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"SPRY", + "right":0 + }, + "right":{ + "op":">", + "left":"FRS2_SRC", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SPRY", + "value":{ + "op":"-", + "left":"FRS2_SRC", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":15, + "right":60 + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"SPRY", + "right":0 + }, + "right":{ + "op":"=", + "left":"app", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":15, + "right":60 + } + }, + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":15, + "right":60 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"SPRY", + "value":1 + }, + { + "ref":"app", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cbl_bind", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"SPRY", + "right":2 + }, + "right":{ + "op":"=", + "left":"SPRY", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"SPRY", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SPRY", + "value":{ + "op":"+", + "left":"SPRY", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cbl_rel", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"SPRY", + "right":3 + }, + "right":{ + "op":"=", + "left":"SPRY", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"SPRY", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SPRY", + "value":{ + "op":"-", + "left":"SPRY", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"grb_bind_spry", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"SPRY", + "right":2 + }, + "right":{ + "op":"=", + "left":"SPRY", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SPRY", + "value":{ + "op":"+", + "left":"SPRY", + "right":{ + "op":"*", + "left":2, + "right":"GRB" + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"grb_rel_spry", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"SPRY", + "right":4 + }, + "right":{ + "op":"=", + "left":"SPRY", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SPRY", + "value":{ + "op":"-", + "left":"SPRY", + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"grb_rel_spry", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"SPRY", + "right":6 + }, + "right":{ + "op":"=", + "left":"SPRY", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SPRY", + "value":{ + "op":"-", + "left":"SPRY", + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"sos_bind_spry", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"SPRY", + "right":4 + }, + "right":{ + "op":"=", + "left":"SPRY", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SPRY", + "value":{ + "op":"+", + "left":"SPRY", + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"sos_rel_spry", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"SPRY", + "right":6 + }, + "right":{ + "op":"=", + "left":"SPRY", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SPRY", + "value":{ + "op":"-", + "left":"SPRY", + "right":2 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"CBL", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"cbl_bind", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"CBL", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"CBL", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cbl_bind_src", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"CBL", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"CBL", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cbl_bind_frs", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"CBL", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"CBL", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cbl_rel", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"CBL", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"CBL", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"cbl_rel_src", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"CBL", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"CBL", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"cbl_rel_frs", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"CBL", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"CBL", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"spry_dephos", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"CBL", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"SHP", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"shp_bind", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"SHP", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SHP", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"shp_rel", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"SHP", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SHP", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"GRB", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"sos_bind", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"GRB", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"GRB", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"sos_rel", + "rate":{ + "exp":0.0001000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"GRB", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001000, + "right":0.0001000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"GRB", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"grb_bind", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":">", + "left":"GRB", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"GRB", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"grb_rel", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"GRB", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"GRB", + "value":"FRS2_GRB" + } + ] + } + ] + }, + { + "location":"location", + "action":"grb_bind_spry", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":">", + "left":"GRB", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"GRB", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"grb_bind_src", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":">", + "left":"GRB", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"GRB", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"grb_bind_frs", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":">", + "left":"GRB", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"GRB", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"grb_rel_spry", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"GRB", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"GRB", + "value":{ + "op":"?:", + "args":[ + { + "op":"<", + "left":"SPRY", + "right":6 + }, + 1, + 2 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"grb_rel_src", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"GRB", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"GRB", + "value":{ + "op":"?:", + "args":[ + { + "op":"<", + "left":"SRC", + "right":7 + }, + 1, + 2 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"grb_rel_frs", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"GRB", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"GRB", + "value":{ + "op":"?:", + "args":[ + { + "op":"<", + "left":"FRS2_SRC", + "right":7 + }, + 1, + 2 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"spry_dephos", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"GRB", + "value":{ + "op":"?:", + "args":[ + { + "op":"<", + "left":"FRS2_SRC", + "right":7 + }, + 1, + 2 + ] + } + } + ] + } + ] + } + ] + }, + { + "name":"SOS", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"sos_bind", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"SOS", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SOS", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"sos_bind_spry", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"SOS", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SOS", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"sos_bind_src", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"SOS", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SOS", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"sos_bind_frs", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"SOS", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SOS", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"sos_rel", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"SOS", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SOS", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"sos_rel_spry", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"SOS", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SOS", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"sos_rel_src", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"SOS", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SOS", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"sos_rel_frs", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"SOS", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"SOS", + "value":1 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"FGF" + }, + { + "automaton":"FGFR" + }, + { + "automaton":"PLC" + }, + { + "automaton":"FRS2" + }, + { + "automaton":"SRC" + }, + { + "automaton":"SPRY" + }, + { + "automaton":"CBL" + }, + { + "automaton":"SHP" + }, + { + "automaton":"GRB" + }, + { + "automaton":"SOS" + } + ], + "syncs":[ + { + "synchronise":[ + null, + null, + null, + "sos_bind_frs", + null, + null, + null, + null, + null, + "sos_bind_frs" + ], + "result":"sos_bind_frs" + }, + { + "synchronise":[ + null, + null, + null, + "sos_rel_frs", + null, + null, + null, + null, + null, + "sos_rel_frs" + ], + "result":"sos_rel_frs" + }, + { + "synchronise":[ + null, + null, + null, + null, + "sos_bind_src", + null, + null, + null, + null, + "sos_bind_src" + ], + "result":"sos_bind_src" + }, + { + "synchronise":[ + null, + null, + null, + null, + "sos_rel_src", + null, + null, + null, + null, + "sos_rel_src" + ], + "result":"sos_rel_src" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "sos_bind_spry", + null, + null, + null, + "sos_bind_spry" + ], + "result":"sos_bind_spry" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "sos_rel_spry", + null, + null, + null, + "sos_rel_spry" + ], + "result":"sos_rel_spry" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "sos_bind", + "sos_bind" + ], + "result":"sos_bind" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "sos_rel", + "sos_rel" + ], + "result":"sos_rel" + }, + { + "synchronise":[ + null, + null, + null, + "spry_dephos", + null, + null, + "spry_dephos", + null, + "spry_dephos", + null + ], + "result":"spry_dephos" + }, + { + "synchronise":[ + null, + null, + null, + "grb_rel", + null, + null, + null, + null, + "grb_rel", + null + ], + "result":"grb_rel" + }, + { + "synchronise":[ + null, + null, + null, + "grb_bind", + null, + null, + null, + null, + "grb_bind", + null + ], + "result":"grb_bind" + }, + { + "synchronise":[ + null, + null, + null, + "grb_bind_frs", + null, + null, + null, + null, + "grb_bind_frs", + null + ], + "result":"grb_bind_frs" + }, + { + "synchronise":[ + null, + null, + null, + "grb_rel_frs", + null, + null, + null, + null, + "grb_rel_frs", + null + ], + "result":"grb_rel_frs" + }, + { + "synchronise":[ + null, + null, + null, + null, + "grb_bind_src", + null, + null, + null, + "grb_bind_src", + null + ], + "result":"grb_bind_src" + }, + { + "synchronise":[ + null, + null, + null, + null, + "grb_rel_src", + null, + null, + null, + "grb_rel_src", + null + ], + "result":"grb_rel_src" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "grb_bind_spry", + null, + null, + "grb_bind_spry", + null + ], + "result":"grb_bind_spry" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "grb_rel_spry", + null, + null, + "grb_rel_spry", + null + ], + "result":"grb_rel_spry" + }, + { + "synchronise":[ + null, + null, + null, + "shp_rel", + null, + null, + null, + "shp_rel", + null, + null + ], + "result":"shp_rel" + }, + { + "synchronise":[ + null, + null, + null, + "shp_bind", + null, + null, + null, + "shp_bind", + null, + null + ], + "result":"shp_bind" + }, + { + "synchronise":[ + null, + null, + null, + "cbl_bind_frs", + null, + null, + "cbl_bind_frs", + null, + null, + null + ], + "result":"cbl_bind_frs" + }, + { + "synchronise":[ + null, + null, + null, + "cbl_rel_frs", + null, + null, + "cbl_rel_frs", + null, + null, + null + ], + "result":"cbl_rel_frs" + }, + { + "synchronise":[ + null, + null, + null, + null, + "cbl_bind_src", + null, + "cbl_bind_src", + null, + null, + null + ], + "result":"cbl_bind_src" + }, + { + "synchronise":[ + null, + null, + null, + null, + "cbl_rel_src", + null, + "cbl_rel_src", + null, + null, + null + ], + "result":"cbl_rel_src" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "cbl_bind", + "cbl_bind", + null, + null, + null + ], + "result":"cbl_bind" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "cbl_rel", + "cbl_rel", + null, + null, + null + ], + "result":"cbl_rel" + }, + { + "synchronise":[ + null, + null, + null, + "spry_bind_frs", + null, + "spry_bind_frs", + null, + null, + null, + null + ], + "result":"spry_bind_frs" + }, + { + "synchronise":[ + null, + null, + null, + "spry_rel_frs", + null, + "spry_rel_frs", + null, + null, + null, + null + ], + "result":"spry_rel_frs" + }, + { + "synchronise":[ + null, + null, + null, + null, + "spry_bind", + "spry_bind", + null, + null, + null, + null + ], + "result":"spry_bind" + }, + { + "synchronise":[ + null, + null, + null, + null, + "spry_rel", + "spry_rel", + null, + null, + null, + null + ], + "result":"spry_rel" + }, + { + "synchronise":[ + null, + null, + null, + "src_rel", + "src_rel", + null, + null, + null, + null, + null + ], + "result":"src_rel" + }, + { + "synchronise":[ + null, + null, + null, + "src_bind", + "src_bind", + null, + null, + null, + null, + null + ], + "result":"src_bind" + }, + { + "synchronise":[ + null, + "fgfr_bind", + null, + "fgfr_bind", + null, + null, + null, + null, + null, + null + ], + "result":"fgfr_bind" + }, + { + "synchronise":[ + null, + "fgfr_rel", + null, + "fgfr_rel", + null, + null, + null, + null, + null, + null + ], + "result":"fgfr_rel" + }, + { + "synchronise":[ + null, + "plc_bind", + "plc_bind", + null, + null, + null, + null, + null, + null, + null + ], + "result":"plc_bind" + }, + { + "synchronise":[ + null, + "plc_rel", + "plc_rel", + null, + null, + null, + null, + null, + null, + null + ], + "result":"plc_rel" + }, + { + "synchronise":[ + "fgf_bind", + "fgf_bind", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"fgf_bind" + }, + { + "synchronise":[ + "fgf_rel", + "fgf_rel", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"fgf_rel" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/firewire_abs.jani b/examples/exported-jani-models/firewire_abs.jani new file mode 100644 index 000000000..dd16f6e05 --- /dev/null +++ b/examples/exported-jani-models/firewire_abs.jani @@ -0,0 +1,214 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"time" + }, + { + "name":"round" + } + ], + "constants":[ + { + "name":"delay", + "type":"int" + }, + { + "name":"fast", + "type":"real" + } + ], + "variables":[ + { + "name":"x", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":167, + "right":1 + } + } + }, + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":9 + } + } + ], + "observables":[ + { + "name":"\"time\"" + }, + { + "name":"\"rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x", + "right":0 + }, + "right":{ + "op":"=", + "left":"s", + "right":0 + } + } + }, + "automata":[ + { + "name":"abstract_firewire", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":0 + }, + "right":{ + "op":"<", + "left":"x", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x", + "right":1 + }, + "right":{ + "op":"+", + "left":167, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"round", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":"fast" + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + { + "ref":"\"rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"fast" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":4 + } + ], + "observables":[ + { + "ref":"\"rounds\"", + "value":1 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"abstract_firewire" + } + ], + "syncs":[ + { + "synchronise":[ + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "round" + ], + "result":"round" + } + ] + } +} diff --git a/examples/exported-jani-models/firewire_impl.jani b/examples/exported-jani-models/firewire_impl.jani new file mode 100644 index 000000000..6a266391c --- /dev/null +++ b/examples/exported-jani-models/firewire_impl.jani @@ -0,0 +1,5013 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"snd_req12" + }, + { + "name":"snd_ack12" + }, + { + "name":"snd_idle12" + }, + { + "name":"time" + }, + { + "name":"rec_req12" + }, + { + "name":"rec_ack12" + }, + { + "name":"rec_idle12" + }, + { + "name":"rec_idle21" + }, + { + "name":"rec_req21" + }, + { + "name":"rec_ack21" + }, + { + "name":"tau__" + }, + { + "name":"snd_req21" + }, + { + "name":"snd_ack21" + }, + { + "name":"snd_idle21" + } + ], + "constants":[ + { + "name":"delay", + "type":"int" + }, + { + "name":"fast", + "type":"real" + } + ], + "variables":[ + { + "name":"w12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":9 + } + }, + { + "name":"y1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "name":"y2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":168 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"w21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":9 + } + }, + { + "name":"z1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "name":"z2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":168 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + } + ], + "observables":[ + { + "name":"\"time\"" + }, + { + "name":"\"time_sending\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w12", + "right":0 + }, + "right":{ + "op":"=", + "left":"y1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"w21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"z1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"z2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + } + }, + "automata":[ + { + "name":"wire12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":1 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":3 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":5 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":"w12" + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + }, + { + "ref":"\"time_sending\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":">", + "left":"w12", + "right":0 + }, + "right":{ + "op":">", + "left":"w21", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":0 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":2 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":8 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w12", + "right":1 + }, + "right":{ + "op":"<", + "left":"y2", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + }, + { + "ref":"\"time_sending\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":">", + "left":"w12", + "right":0 + }, + "right":{ + "op":">", + "left":"w21", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w12", + "right":2 + }, + "right":{ + "op":"<", + "left":"y1", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + }, + { + "ref":"\"time_sending\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":">", + "left":"w12", + "right":0 + }, + "right":{ + "op":">", + "left":"w21", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":0 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":4 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":7 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w12", + "right":3 + }, + "right":{ + "op":"<", + "left":"y2", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + }, + { + "ref":"\"time_sending\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":">", + "left":"w12", + "right":0 + }, + "right":{ + "op":">", + "left":"w21", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w12", + "right":4 + }, + "right":{ + "op":"<", + "left":"y1", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + }, + { + "ref":"\"time_sending\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":">", + "left":"w12", + "right":0 + }, + "right":{ + "op":">", + "left":"w21", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":0 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":6 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":9 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w12", + "right":5 + }, + "right":{ + "op":"<", + "left":"y2", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + }, + { + "ref":"\"time_sending\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":">", + "left":"w12", + "right":0 + }, + "right":{ + "op":">", + "left":"w21", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w12", + "right":6 + }, + "right":{ + "op":"<", + "left":"y1", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + }, + { + "ref":"\"time_sending\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":">", + "left":"w12", + "right":0 + }, + "right":{ + "op":">", + "left":"w21", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w12", + "right":7 + }, + "right":{ + "op":"<", + "left":"y1", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + }, + { + "ref":"\"time_sending\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":">", + "left":"w12", + "right":0 + }, + "right":{ + "op":">", + "left":"w21", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w12", + "right":8 + }, + "right":{ + "op":"<", + "left":"y1", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + }, + { + "ref":"\"time_sending\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":">", + "left":"w12", + "right":0 + }, + "right":{ + "op":">", + "left":"w21", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w12", + "right":9 + }, + "right":{ + "op":"<", + "left":"y1", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"y2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":1 + }, + { + "ref":"\"time_sending\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":">", + "left":"w12", + "right":0 + }, + "right":{ + "op":">", + "left":"w21", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + } + ] + }, + { + "name":"node1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":"fast" + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"fast" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":"fast" + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"fast" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":76 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"<", + "left":"x1", + "right":85 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":168 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":159 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":167 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":168 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":4 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":76 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":4 + }, + "right":{ + "op":"<", + "left":"x1", + "right":85 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":168 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":159 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":167 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":168 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"=", + "left":"s2", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"=", + "left":"s2", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ] + } + ] + } + ] + }, + { + "name":"wire21", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":1 + }, + { + "ref":"z1", + "value":0 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":3 + }, + { + "ref":"z1", + "value":0 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":5 + }, + { + "ref":"z1", + "value":0 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":"w21" + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":0 + }, + { + "ref":"z1", + "value":0 + }, + { + "ref":"z2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":2 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":8 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w21", + "right":1 + }, + "right":{ + "op":"<", + "left":"z2", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"z1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"z2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w21", + "right":2 + }, + "right":{ + "op":"<", + "left":"z1", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"z1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"z2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":0 + }, + { + "ref":"z1", + "value":0 + }, + { + "ref":"z2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":4 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":7 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w21", + "right":3 + }, + "right":{ + "op":"<", + "left":"z2", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"z1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"z2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w21", + "right":4 + }, + "right":{ + "op":"<", + "left":"z1", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"z1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"z2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":0 + }, + { + "ref":"z1", + "value":0 + }, + { + "ref":"z2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":6 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":9 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w21", + "right":5 + }, + "right":{ + "op":"<", + "left":"z2", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"z1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"z2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w21", + "right":6 + }, + "right":{ + "op":"<", + "left":"z1", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"z1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"z2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w21", + "right":7 + }, + "right":{ + "op":"<", + "left":"z1", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"z1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"z2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w21", + "right":8 + }, + "right":{ + "op":"<", + "left":"z1", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"z1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"z2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w21", + "right":9 + }, + "right":{ + "op":"<", + "left":"z1", + "right":"delay" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"z1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z1", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + }, + { + "ref":"z2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z2", + "right":1 + }, + "right":{ + "op":"+", + "left":"delay", + "right":1 + } + } + } + ] + } + ] + } + ] + }, + { + "name":"node2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":"fast" + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"fast" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":"fast" + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"fast" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":76 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"<", + "left":"x2", + "right":85 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":168 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":159 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":167 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":168 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":4 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":76 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":4 + }, + "right":{ + "op":"<", + "left":"x2", + "right":85 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":168 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":159 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":167 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":168 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"=", + "left":"s1", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"=", + "left":"s1", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"wire12" + }, + { + "automaton":"node1" + }, + { + "automaton":"wire21" + }, + { + "automaton":"node2" + } + ], + "syncs":[ + { + "synchronise":[ + "time", + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "rec_req12", + null, + null, + "rec_req12" + ], + "result":"rec_req12" + }, + { + "synchronise":[ + "rec_ack12", + null, + null, + "rec_ack12" + ], + "result":"rec_ack12" + }, + { + "synchronise":[ + "rec_idle12", + null, + null, + "rec_idle12" + ], + "result":"rec_idle12" + }, + { + "synchronise":[ + null, + null, + "snd_req21", + "snd_req21" + ], + "result":"snd_req21" + }, + { + "synchronise":[ + null, + null, + "snd_ack21", + "snd_ack21" + ], + "result":"snd_ack21" + }, + { + "synchronise":[ + null, + null, + "snd_idle21", + "snd_idle21" + ], + "result":"snd_idle21" + }, + { + "synchronise":[ + null, + "rec_idle21", + "rec_idle21", + null + ], + "result":"rec_idle21" + }, + { + "synchronise":[ + null, + "rec_req21", + "rec_req21", + null + ], + "result":"rec_req21" + }, + { + "synchronise":[ + null, + "rec_ack21", + "rec_ack21", + null + ], + "result":"rec_ack21" + }, + { + "synchronise":[ + "snd_req12", + "snd_req12", + null, + null + ], + "result":"snd_req12" + }, + { + "synchronise":[ + "snd_ack12", + "snd_ack12", + null, + null + ], + "result":"snd_ack12" + }, + { + "synchronise":[ + "snd_idle12", + "snd_idle12", + null, + null + ], + "result":"snd_idle12" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/fms.jani b/examples/exported-jani-models/fms.jani new file mode 100644 index 000000000..94e7ef82a --- /dev/null +++ b/examples/exported-jani-models/fms.jani @@ -0,0 +1,3456 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"t1" + }, + { + "name":"tau__" + }, + { + "name":"p1p2" + }, + { + "name":"fp12" + }, + { + "name":"t2" + }, + { + "name":"p2p3" + }, + { + "name":"t3" + }, + { + "name":"t12" + } + ], + "constants":[ + { + "name":"n", + "type":"int" + } + ], + "variables":[ + { + "name":"P1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"n" + } + }, + { + "name":"P1wM1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"n" + } + }, + { + "name":"P1M1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"P1d", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"n" + } + }, + { + "name":"P1s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"n" + } + }, + { + "name":"P1wP2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"n" + } + }, + { + "name":"M1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"P2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"n" + } + }, + { + "name":"P2wM2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"n" + } + }, + { + "name":"P2M2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"P2s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"n" + } + }, + { + "name":"P2wP1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"n" + } + }, + { + "name":"M2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"P3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"n" + } + }, + { + "name":"P3M2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"n" + } + }, + { + "name":"P3s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"n" + } + }, + { + "name":"P12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"n" + } + }, + { + "name":"P12wM3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"n" + } + }, + { + "name":"P12M3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"P12s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"n" + } + }, + { + "name":"M3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"\"throughput_m1\"" + }, + { + "name":"\"throughput_m2\"" + }, + { + "name":"\"throughput_m3\"" + }, + { + "name":"\"throughput_m12\"" + }, + { + "name":"\"productivity\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"P1", + "right":"n" + }, + "right":{ + "op":"=", + "left":"P1wM1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P1M1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P1d", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P1s", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P1wP2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"M1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"P2", + "right":"n" + } + }, + "right":{ + "op":"=", + "left":"P2wM2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P2M2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P2s", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P2wP1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"M2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"P3", + "right":"n" + } + }, + "right":{ + "op":"=", + "left":"P3M2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P3s", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P12wM3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P12M3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P12s", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"M3", + "right":2 + } + } + }, + "automata":[ + { + "name":"machine1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"t1", + "rate":{ + "exp":{ + "op":"*", + "left":"P1", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P1", + "right":0 + }, + "right":{ + "op":">", + "left":"M1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"P1M1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":"P1", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + }, + "right":{ + "op":"*", + "left":"P1", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P1", + "value":{ + "op":"-", + "left":"P1", + "right":1 + } + }, + { + "ref":"P1M1", + "value":{ + "op":"+", + "left":"P1M1", + "right":1 + } + }, + { + "ref":"M1", + "value":{ + "op":"-", + "left":"M1", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"throughput_m1\"", + "value":1 + }, + { + "ref":"\"productivity\"", + "value":400 + } + ] + } + ] + }, + { + "location":"location", + "action":"t1", + "rate":{ + "exp":{ + "op":"*", + "left":"P1", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P1", + "right":0 + }, + "right":{ + "op":"=", + "left":"M1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"P1wM1", + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":"P1", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + }, + "right":{ + "op":"*", + "left":"P1", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P1", + "value":{ + "op":"-", + "left":"P1", + "right":1 + } + }, + { + "ref":"P1wM1", + "value":{ + "op":"+", + "left":"P1wM1", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"throughput_m1\"", + "value":1 + }, + { + "ref":"\"productivity\"", + "value":400 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":0.2000000, + "right":"P1M1" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P1M1", + "right":0 + }, + "right":{ + "op":"=", + "left":"P1wM1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"M1", + "right":3 + } + }, + "right":{ + "op":"<", + "left":"P1s", + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":0.2000000, + "right":"P1M1" + }, + "right":{ + "op":"*", + "left":0.2000000, + "right":"P1M1" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P1M1", + "value":{ + "op":"-", + "left":"P1M1", + "right":1 + } + }, + { + "ref":"M1", + "value":{ + "op":"+", + "left":"M1", + "right":1 + } + }, + { + "ref":"P1s", + "value":{ + "op":"+", + "left":"P1s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":0.2000000, + "right":"P1M1" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P1M1", + "right":0 + }, + "right":{ + "op":">", + "left":"P1wM1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"P1s", + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":0.2000000, + "right":"P1M1" + }, + "right":{ + "op":"*", + "left":0.2000000, + "right":"P1M1" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P1wM1", + "value":{ + "op":"-", + "left":"P1wM1", + "right":1 + } + }, + { + "ref":"P1s", + "value":{ + "op":"+", + "left":"P1s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":0.0500000, + "right":"P1M1" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P1M1", + "right":0 + }, + "right":{ + "op":"=", + "left":"P2wP1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P1wM1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"M1", + "right":3 + } + }, + "right":{ + "op":"<", + "left":"P1wP2", + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":0.0500000, + "right":"P1M1" + }, + "right":{ + "op":"*", + "left":0.0500000, + "right":"P1M1" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P1M1", + "value":{ + "op":"-", + "left":"P1M1", + "right":1 + } + }, + { + "ref":"M1", + "value":{ + "op":"+", + "left":"M1", + "right":1 + } + }, + { + "ref":"P1wP2", + "value":{ + "op":"+", + "left":"P1wP2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":0.0500000, + "right":"P1M1" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P1M1", + "right":0 + }, + "right":{ + "op":"=", + "left":"P2wP1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"P1wM1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"P1wP2", + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":0.0500000, + "right":"P1M1" + }, + "right":{ + "op":"*", + "left":0.0500000, + "right":"P1M1" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P1wM1", + "value":{ + "op":"-", + "left":"P1wM1", + "right":1 + } + }, + { + "ref":"P1wP2", + "value":{ + "op":"+", + "left":"P1wP2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p1p2", + "rate":{ + "exp":{ + "op":"*", + "left":0.0500000, + "right":"P1M1" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P1M1", + "right":0 + }, + "right":{ + "op":">", + "left":"P2wP1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P1wM1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"M1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":0.0500000, + "right":"P1M1" + }, + "right":{ + "op":"*", + "left":0.0500000, + "right":"P1M1" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P1M1", + "value":{ + "op":"-", + "left":"P1M1", + "right":1 + } + }, + { + "ref":"M1", + "value":{ + "op":"+", + "left":"M1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p1p2", + "rate":{ + "exp":{ + "op":"*", + "left":0.0500000, + "right":"P1M1" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P1M1", + "right":0 + }, + "right":{ + "op":">", + "left":"P2wP1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"P1wM1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":0.0500000, + "right":"P1M1" + }, + "right":{ + "op":"*", + "left":0.0500000, + "right":"P1M1" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P1wM1", + "value":{ + "op":"-", + "left":"P1wM1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p1p2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":">", + "left":"P1wP2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"P1wP2", + "value":{ + "op":"-", + "left":"P1wP2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":60 + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"P1s", + "right":0 + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":"P1", + "right":"P1s" + }, + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":60 + }, + "right":{ + "op":"/", + "left":1, + "right":60 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P1s", + "value":0 + }, + { + "ref":"P1", + "value":{ + "op":"+", + "left":"P1", + "right":"P1s" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"fp12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":"P1", + "right":"P12s" + }, + "right":"n" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"P1", + "value":{ + "op":"+", + "left":"P1", + "right":"P12s" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"machine2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"t2", + "rate":{ + "exp":{ + "op":"*", + "left":"P2", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P2", + "right":0 + }, + "right":{ + "op":">", + "left":"M2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"P2M2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":"P2", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + }, + "right":{ + "op":"*", + "left":"P2", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P2", + "value":{ + "op":"-", + "left":"P2", + "right":1 + } + }, + { + "ref":"P2M2", + "value":{ + "op":"+", + "left":"P2M2", + "right":1 + } + }, + { + "ref":"M2", + "value":{ + "op":"-", + "left":"M2", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"throughput_m2\"", + "value":1 + }, + { + "ref":"\"productivity\"", + "value":600 + } + ] + } + ] + }, + { + "location":"location", + "action":"t2", + "rate":{ + "exp":{ + "op":"*", + "left":"P2", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P2", + "right":0 + }, + "right":{ + "op":"=", + "left":"M2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"P2wM2", + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":"P2", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + }, + "right":{ + "op":"*", + "left":"P2", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P2", + "value":{ + "op":"-", + "left":"P2", + "right":1 + } + }, + { + "ref":"P2wM2", + "value":{ + "op":"+", + "left":"P2wM2", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"throughput_m2\"", + "value":1 + }, + { + "ref":"\"productivity\"", + "value":600 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.1000000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P2M2", + "right":0 + }, + "right":{ + "op":"=", + "left":"P2wM2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"M2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"P2s", + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.1000000, + "right":0.1000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"P2M2", + "value":{ + "op":"-", + "left":"P2M2", + "right":1 + } + }, + { + "ref":"M2", + "value":{ + "op":"+", + "left":"M2", + "right":1 + } + }, + { + "ref":"P2s", + "value":{ + "op":"+", + "left":"P2s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.1000000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P2M2", + "right":0 + }, + "right":{ + "op":">", + "left":"P2wM2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"P2s", + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.1000000, + "right":0.1000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"P2wM2", + "value":{ + "op":"-", + "left":"P2wM2", + "right":1 + } + }, + { + "ref":"P2s", + "value":{ + "op":"+", + "left":"P2s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P2M2", + "right":0 + }, + "right":{ + "op":"=", + "left":"P1wP2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P2wM2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"M2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"P2wP1", + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P2M2", + "value":{ + "op":"-", + "left":"P2M2", + "right":1 + } + }, + { + "ref":"M2", + "value":{ + "op":"+", + "left":"M2", + "right":1 + } + }, + { + "ref":"P2wP1", + "value":{ + "op":"+", + "left":"P2wP1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P2M2", + "right":0 + }, + "right":{ + "op":"=", + "left":"P1wP2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"P2wM2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"P2wP1", + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P2wM2", + "value":{ + "op":"-", + "left":"P2wM2", + "right":1 + } + }, + { + "ref":"P2wP1", + "value":{ + "op":"+", + "left":"P2wP1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p1p2", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P2M2", + "right":0 + }, + "right":{ + "op":">", + "left":"P1wP2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"P2wM2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"M2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P2M2", + "value":{ + "op":"-", + "left":"P2M2", + "right":1 + } + }, + { + "ref":"M2", + "value":{ + "op":"+", + "left":"M2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1p2", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P2M2", + "right":0 + }, + "right":{ + "op":">", + "left":"P1wP2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"P2wM2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P2wM2", + "value":{ + "op":"-", + "left":"P2wM2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1p2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":">", + "left":"P2wP1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"P2wP1", + "value":{ + "op":"-", + "left":"P2wP1", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":60 + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"P2s", + "right":0 + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":"P2", + "right":"P2s" + }, + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":60 + }, + "right":{ + "op":"/", + "left":1, + "right":60 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P2s", + "value":0 + }, + { + "ref":"P2", + "value":{ + "op":"+", + "left":"P2", + "right":"P2s" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"fp12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":"P2", + "right":"P12s" + }, + "right":"n" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"P2", + "value":{ + "op":"+", + "left":"P2", + "right":"P12s" + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p2p3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":">", + "left":"M2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"M2", + "value":"M2" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"machine3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"t3", + "rate":{ + "exp":{ + "op":"*", + "left":"P3", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"P3", + "right":0 + }, + "right":{ + "op":"<", + "left":"P3M2", + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":"P3", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + }, + "right":{ + "op":"*", + "left":"P3", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P3", + "value":{ + "op":"-", + "left":"P3", + "right":1 + } + }, + { + "ref":"P3M2", + "value":{ + "op":"+", + "left":"P3M2", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"throughput_m3\"", + "value":1 + }, + { + "ref":"\"productivity\"", + "value":100 + } + ] + } + ] + }, + { + "location":"location", + "action":"p2p3", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"P3M2", + "right":0 + }, + "right":{ + "op":"<", + "left":"P3s", + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P3M2", + "value":{ + "op":"-", + "left":"P3M2", + "right":1 + } + }, + { + "ref":"P3s", + "value":{ + "op":"+", + "left":"P3s", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":60 + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"P3s", + "right":0 + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":"P3", + "right":"P3s" + }, + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":60 + }, + "right":{ + "op":"/", + "left":1, + "right":60 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P3s", + "value":0 + }, + { + "ref":"P3", + "value":{ + "op":"+", + "left":"P3", + "right":"P3s" + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"machine12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"p1p2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"P12", + "right":"n" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"P12", + "value":{ + "op":"+", + "left":"P12", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"t12", + "rate":{ + "exp":{ + "op":"*", + "left":"P12", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P12", + "right":0 + }, + "right":{ + "op":">", + "left":"M3", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"P12M3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":"P12", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + }, + "right":{ + "op":"*", + "left":"P12", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P12", + "value":{ + "op":"-", + "left":"P12", + "right":1 + } + }, + { + "ref":"P12M3", + "value":{ + "op":"+", + "left":"P12M3", + "right":1 + } + }, + { + "ref":"M3", + "value":{ + "op":"-", + "left":"M3", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"throughput_m12\"", + "value":1 + }, + { + "ref":"\"productivity\"", + "value":1100 + } + ] + } + ] + }, + { + "location":"location", + "action":"t12", + "rate":{ + "exp":{ + "op":"*", + "left":"P12", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P12", + "right":0 + }, + "right":{ + "op":"=", + "left":"M3", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"P12wM3", + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":"P12", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + }, + "right":{ + "op":"*", + "left":"P12", + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"⌊⌋", + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":"n" + }, + "right":2 + } + }, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"P1", + "right":"P2" + }, + "right":"P3" + }, + "right":"P12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P12", + "value":{ + "op":"-", + "left":"P12", + "right":1 + } + }, + { + "ref":"P12wM3", + "value":{ + "op":"+", + "left":"P12wM3", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"throughput_m12\"", + "value":1 + }, + { + "ref":"\"productivity\"", + "value":1100 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":"P12M3" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P12M3", + "right":0 + }, + "right":{ + "op":"=", + "left":"P12wM3", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"P12s", + "right":"n" + } + }, + "right":{ + "op":"<", + "left":"M3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"P12M3", + "right":"P12M3" + } + }, + "location":"location", + "assignments":[ + { + "ref":"P12M3", + "value":{ + "op":"-", + "left":"P12M3", + "right":1 + } + }, + { + "ref":"P12s", + "value":{ + "op":"+", + "left":"P12s", + "right":1 + } + }, + { + "ref":"M3", + "value":{ + "op":"+", + "left":"M3", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":"P12M3" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"P12M3", + "right":0 + }, + "right":{ + "op":">", + "left":"P12wM3", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"P12s", + "right":"n" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"P12M3", + "right":"P12M3" + } + }, + "location":"location", + "assignments":[ + { + "ref":"P12wM3", + "value":{ + "op":"-", + "left":"P12wM3", + "right":1 + } + }, + { + "ref":"P12s", + "value":{ + "op":"+", + "left":"P12s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"fp12", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":60 + } + }, + "guard":{ + "exp":{ + "op":">", + "left":"P12s", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":60 + }, + "right":{ + "op":"/", + "left":1, + "right":60 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"P12s", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"machine1" + }, + { + "automaton":"machine2" + }, + { + "automaton":"machine3" + }, + { + "automaton":"machine12" + } + ], + "syncs":[ + { + "synchronise":[ + "p1p2", + "p1p2", + null, + "p1p2" + ], + "result":"p1p2" + }, + { + "synchronise":[ + "fp12", + "fp12", + null, + "fp12" + ], + "result":"fp12" + }, + { + "synchronise":[ + null, + "p2p3", + "p2p3", + null + ], + "result":"p2p3" + }, + { + "synchronise":[ + "t1", + null, + null, + null + ], + "result":"t1" + }, + { + "synchronise":[ + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "t2", + null, + null + ], + "result":"t2" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "t3", + null + ], + "result":"t3" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "t12" + ], + "result":"t12" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/gossip4.jani b/examples/exported-jani-models/gossip4.jani new file mode 100644 index 000000000..456ce9a84 --- /dev/null +++ b/examples/exported-jani-models/gossip4.jani @@ -0,0 +1,16360 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"start1" + }, + { + "name":"start2" + }, + { + "name":"start3" + }, + { + "name":"start4" + }, + { + "name":"push2_1_0" + }, + { + "name":"push3_1_0" + }, + { + "name":"push4_1_0" + }, + { + "name":"push2_1_1" + }, + { + "name":"push3_1_1" + }, + { + "name":"push4_1_1" + }, + { + "name":"push2_1_end" + }, + { + "name":"push3_1_end" + }, + { + "name":"push4_1_end" + }, + { + "name":"tau__" + }, + { + "name":"push1_2_0" + }, + { + "name":"push1_2_1" + }, + { + "name":"push1_2_end" + }, + { + "name":"push1_3_0" + }, + { + "name":"push1_3_1" + }, + { + "name":"push1_3_end" + }, + { + "name":"push1_4_0" + }, + { + "name":"push1_4_1" + }, + { + "name":"push1_4_end" + }, + { + "name":"push3_2_0" + }, + { + "name":"push4_2_0" + }, + { + "name":"push3_2_1" + }, + { + "name":"push4_2_1" + }, + { + "name":"push3_2_end" + }, + { + "name":"push4_2_end" + }, + { + "name":"push2_3_0" + }, + { + "name":"push2_3_1" + }, + { + "name":"push2_3_end" + }, + { + "name":"push2_4_0" + }, + { + "name":"push2_4_1" + }, + { + "name":"push2_4_end" + }, + { + "name":"push4_3_0" + }, + { + "name":"push4_3_1" + }, + { + "name":"push4_3_end" + }, + { + "name":"push3_4_0" + }, + { + "name":"push3_4_1" + }, + { + "name":"push3_4_end" + } + ], + "variables":[ + { + "name":"b1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"v1_1_a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"v1_2_a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"v1_1_h", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"v1_2_h", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"a1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"h1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"i1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"send1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"v2_1_a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"v2_2_a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"v2_1_h", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"v2_2_h", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"a2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"h2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"i2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"send2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"v3_1_a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"v3_2_a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"v3_1_h", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"v3_2_h", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"a3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"h3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"i3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"send3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"v4_1_a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"v4_2_a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"v4_1_h", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"v4_2_h", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"a4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"h4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"i4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"send4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + } + ], + "observables":[ + { + "name":"\"max_path_len\"" + }, + { + "name":"\"max_path_len_sq\"" + }, + { + "name":"\"rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b1", + "right":0 + }, + "right":{ + "op":"=", + "left":"b2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"v1_1_a", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"v1_1_h", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"v1_2_h", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"a1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"h1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"i1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"send1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"v2_1_a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"v2_1_h", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"v2_2_h", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"a2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"h2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"i2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"send2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"v3_1_a", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"v3_1_h", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"v3_2_h", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"a3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"h3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"i3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"send3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"v4_1_a", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"v4_1_h", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"v4_2_h", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"a4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"h4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"i4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"send4", + "right":0 + } + } + }, + "automata":[ + { + "name":"SCHED", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"max_path_len\"", + "value":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + }, + "right":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + } + }, + "right":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + } + }, + "right":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + } + } + }, + { + "ref":"\"max_path_len_sq\"", + "value":{ + "op":"*", + "left":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + }, + "right":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + } + }, + "right":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + } + }, + "right":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + } + }, + "right":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + }, + "right":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + } + }, + "right":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":4 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":4 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":4 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + } + }, + "right":{ + "op":"max", + "left":{ + "op":"max", + "left":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v1_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":1 + } + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + } + }, + 2, + { + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v4_1_a", + "right":3 + }, + "right":{ + "op":"=", + "left":"v4_2_a", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v3_1_a", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_a", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"v2_1_a", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_2_a", + "right":1 + } + } + } + }, + 3, + 4 + ] + } + ] + } + ] + } + } + } + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"start1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b1", + "right":0 + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b2", + "right":"b3" + }, + "right":"b4" + }, + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"rounds\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b1", + "right":"b2" + }, + "right":"b3" + }, + "right":"b4" + }, + "right":3 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"start2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b2", + "right":0 + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b1", + "right":"b3" + }, + "right":"b4" + }, + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"rounds\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b1", + "right":"b2" + }, + "right":"b3" + }, + "right":"b4" + }, + "right":3 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"start3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b3", + "right":0 + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b1", + "right":"b2" + }, + "right":"b4" + }, + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":1 + } + ], + "observables":[ + { + "ref":"\"rounds\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b1", + "right":"b2" + }, + "right":"b3" + }, + "right":"b4" + }, + "right":3 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"start4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b4", + "right":0 + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b1", + "right":"b2" + }, + "right":"b3" + }, + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":1 + } + ], + "observables":[ + { + "ref":"\"rounds\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b1", + "right":"b2" + }, + "right":"b3" + }, + "right":"b4" + }, + "right":3 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"start1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b1", + "right":0 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b2", + "right":"b3" + }, + "right":"b4" + }, + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"b4", + "value":0 + } + ], + "observables":[ + { + "ref":"\"rounds\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b1", + "right":"b2" + }, + "right":"b3" + }, + "right":"b4" + }, + "right":3 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"start2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b2", + "right":0 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b1", + "right":"b3" + }, + "right":"b4" + }, + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"b4", + "value":0 + } + ], + "observables":[ + { + "ref":"\"rounds\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b1", + "right":"b2" + }, + "right":"b3" + }, + "right":"b4" + }, + "right":3 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"start3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b3", + "right":0 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b1", + "right":"b2" + }, + "right":"b4" + }, + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"b4", + "value":0 + } + ], + "observables":[ + { + "ref":"\"rounds\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b1", + "right":"b2" + }, + "right":"b3" + }, + "right":"b4" + }, + "right":3 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"start4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b4", + "right":0 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b1", + "right":"b2" + }, + "right":"b3" + }, + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"b4", + "value":0 + } + ], + "observables":[ + { + "ref":"\"rounds\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b1", + "right":"b2" + }, + "right":"b3" + }, + "right":"b4" + }, + "right":3 + }, + 1, + 0 + ] + } + } + ] + } + ] + } + ] + }, + { + "name":"M1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"push2_1_0", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"a1", + "value":2 + }, + { + "ref":"h1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push3_1_0", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"a1", + "value":3 + }, + { + "ref":"h1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push4_1_0", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"a1", + "value":4 + }, + { + "ref":"h1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push2_1_1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"a1", + "value":"v2_1_a" + }, + { + "ref":"h1", + "value":"v2_1_h" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push3_1_1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"a1", + "value":"v3_1_a" + }, + { + "ref":"h1", + "value":"v3_1_h" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push4_1_1", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"a1", + "value":"v4_1_a" + }, + { + "ref":"h1", + "value":"v4_1_h" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push2_1_end", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"a1", + "value":0 + }, + { + "ref":"h1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push3_1_end", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"a1", + "value":0 + }, + { + "ref":"h1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push4_1_end", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"a1", + "value":0 + }, + { + "ref":"h1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"a1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"a1", + "value":0 + }, + { + "ref":"h1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a1", + "right":1 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":"v1_1_a" + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"h1", + "right":1 + }, + "right":"v1_1_h" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":"v1_2_a" + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"h1", + "right":1 + }, + "right":"v1_2_h" + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"a1", + "value":0 + }, + { + "ref":"h1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a1", + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"a1", + "right":"v1_1_a" + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"h1", + "right":1 + }, + "right":"v1_1_h" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"v1_1_h", + "value":{ + "op":"+", + "left":"h1", + "right":1 + } + }, + { + "ref":"a1", + "value":0 + }, + { + "ref":"h1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a1", + "right":1 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a1", + "right":"v1_1_a" + } + } + }, + "right":{ + "op":"=", + "left":"a1", + "right":"v1_2_a" + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"h1", + "right":1 + }, + "right":"v1_2_h" + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h1", + "right":1 + }, + "right":"v1_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h1", + "right":1 + }, + "right":"v1_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"v1_2_a", + "value":"a1" + }, + { + "ref":"v1_2_h", + "value":{ + "op":"+", + "left":"h1", + "right":1 + } + }, + { + "ref":"a1", + "value":0 + }, + { + "ref":"h1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a1", + "right":1 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a1", + "right":"v1_1_a" + } + } + }, + "right":{ + "op":"=", + "left":"a1", + "right":"v1_2_a" + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"h1", + "right":1 + }, + "right":"v1_2_h" + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h1", + "right":1 + }, + "right":"v1_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h1", + "right":1 + }, + "right":"v1_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"v1_1_a", + "value":"a1" + }, + { + "ref":"v1_1_h", + "value":{ + "op":"+", + "left":"h1", + "right":1 + } + }, + { + "ref":"v1_2_a", + "value":"v1_1_a" + }, + { + "ref":"v1_2_h", + "value":"v1_1_h" + }, + { + "ref":"a1", + "value":0 + }, + { + "ref":"h1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":"v1_1_a" + }, + "right":{ + "op":"=", + "left":"a1", + "right":"v1_2_a" + } + } + } + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h1", + "right":1 + }, + "right":"v1_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h1", + "right":1 + }, + "right":"v1_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"a1", + "value":0 + }, + { + "ref":"h1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":"v1_1_a" + }, + "right":{ + "op":"=", + "left":"a1", + "right":"v1_2_a" + } + } + } + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h1", + "right":1 + }, + "right":"v1_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h1", + "right":1 + }, + "right":"v1_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"v1_2_a", + "value":"a1" + }, + { + "ref":"v1_2_h", + "value":{ + "op":"+", + "left":"h1", + "right":1 + } + }, + { + "ref":"a1", + "value":0 + }, + { + "ref":"h1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":"v1_1_a" + }, + "right":{ + "op":"=", + "left":"a1", + "right":"v1_2_a" + } + } + } + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h1", + "right":1 + }, + "right":"v1_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h1", + "right":1 + }, + "right":"v1_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"v1_1_a", + "value":"a1" + }, + { + "ref":"v1_1_h", + "value":{ + "op":"+", + "left":"h1", + "right":1 + } + }, + { + "ref":"v1_2_a", + "value":"v1_1_a" + }, + { + "ref":"v1_2_h", + "value":"v1_1_h" + }, + { + "ref":"a1", + "value":0 + }, + { + "ref":"h1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"start1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":">", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"s4", + "right":0 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v1_1_a", + "right":0 + }, + 1, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v1_2_a", + "right":0 + }, + 1, + 0 + ] + } + }, + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v1_1_a", + "right":0 + }, + 1, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v1_2_a", + "right":0 + }, + 1, + 0 + ] + } + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"send1", + "value":"v1_1_a" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v1_1_a", + "right":0 + }, + 1, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v1_2_a", + "right":0 + }, + 1, + 0 + ] + } + }, + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"send1", + "value":"v1_1_a" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"send1", + "value":"v1_2_a" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push1_2_0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"send1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"i1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i1", + "value":{ + "op":"+", + "left":"i1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push1_2_1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"send1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"i1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"v1_1_h", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"i1", + "value":0 + }, + { + "ref":"send1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push1_2_end", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"send1", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i1", + "right":1 + }, + "right":{ + "op":"=", + "left":"v1_1_h", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i1", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_h", + "right":4 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"i1", + "value":0 + }, + { + "ref":"send1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push1_3_0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"send1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"i1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i1", + "value":{ + "op":"+", + "left":"i1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push1_3_1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"send1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"i1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"v1_1_h", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"i1", + "value":0 + }, + { + "ref":"send1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push1_3_end", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"send1", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i1", + "right":1 + }, + "right":{ + "op":"=", + "left":"v1_1_h", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i1", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_h", + "right":4 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"i1", + "value":0 + }, + { + "ref":"send1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push1_4_0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"send1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"i1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i1", + "value":{ + "op":"+", + "left":"i1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push1_4_1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"send1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"i1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"v1_1_h", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"i1", + "value":0 + }, + { + "ref":"send1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push1_4_end", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"send1", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i1", + "right":1 + }, + "right":{ + "op":"=", + "left":"v1_1_h", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i1", + "right":2 + }, + "right":{ + "op":"=", + "left":"v1_2_h", + "right":4 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"i1", + "value":0 + }, + { + "ref":"send1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"M2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"push1_2_0", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"a2", + "value":1 + }, + { + "ref":"h2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push3_2_0", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"a2", + "value":3 + }, + { + "ref":"h2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push4_2_0", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"a2", + "value":4 + }, + { + "ref":"h2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push1_2_1", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"a2", + "value":"v1_1_a" + }, + { + "ref":"h2", + "value":"v1_1_h" + } + ] + } + ] + }, + { + "location":"location", + "action":"push3_2_1", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"a2", + "value":"v3_1_a" + }, + { + "ref":"h2", + "value":"v3_1_h" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push4_2_1", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"a2", + "value":"v4_1_a" + }, + { + "ref":"h2", + "value":"v4_1_h" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push1_2_end", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"a2", + "value":0 + }, + { + "ref":"h2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push3_2_end", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"a2", + "value":0 + }, + { + "ref":"h2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push4_2_end", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"a2", + "value":0 + }, + { + "ref":"h2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"a2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"a2", + "value":0 + }, + { + "ref":"h2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a2", + "right":2 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":"v2_1_a" + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"h2", + "right":1 + }, + "right":"v2_1_h" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":"v2_2_a" + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"h2", + "right":1 + }, + "right":"v2_2_h" + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"a2", + "value":0 + }, + { + "ref":"h2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a2", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"a2", + "right":"v2_1_a" + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"h2", + "right":1 + }, + "right":"v2_1_h" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"v2_1_h", + "value":{ + "op":"+", + "left":"h2", + "right":1 + } + }, + { + "ref":"a2", + "value":0 + }, + { + "ref":"h2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a2", + "right":2 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a2", + "right":"v2_1_a" + } + } + }, + "right":{ + "op":"=", + "left":"a2", + "right":"v2_2_a" + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"h2", + "right":1 + }, + "right":"v2_2_h" + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h2", + "right":1 + }, + "right":"v2_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h2", + "right":1 + }, + "right":"v2_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"v2_2_a", + "value":"a2" + }, + { + "ref":"v2_2_h", + "value":{ + "op":"+", + "left":"h2", + "right":1 + } + }, + { + "ref":"a2", + "value":0 + }, + { + "ref":"h2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a2", + "right":2 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a2", + "right":"v2_1_a" + } + } + }, + "right":{ + "op":"=", + "left":"a2", + "right":"v2_2_a" + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"h2", + "right":1 + }, + "right":"v2_2_h" + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h2", + "right":1 + }, + "right":"v2_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h2", + "right":1 + }, + "right":"v2_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"v2_1_a", + "value":"a2" + }, + { + "ref":"v2_1_h", + "value":{ + "op":"+", + "left":"h2", + "right":1 + } + }, + { + "ref":"v2_2_a", + "value":"v2_1_a" + }, + { + "ref":"v2_2_h", + "value":"v2_1_h" + }, + { + "ref":"a2", + "value":0 + }, + { + "ref":"h2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":"v2_1_a" + }, + "right":{ + "op":"=", + "left":"a2", + "right":"v2_2_a" + } + } + } + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h2", + "right":1 + }, + "right":"v2_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h2", + "right":1 + }, + "right":"v2_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"a2", + "value":0 + }, + { + "ref":"h2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":"v2_1_a" + }, + "right":{ + "op":"=", + "left":"a2", + "right":"v2_2_a" + } + } + } + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h2", + "right":1 + }, + "right":"v2_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h2", + "right":1 + }, + "right":"v2_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"v2_2_a", + "value":"a2" + }, + { + "ref":"v2_2_h", + "value":{ + "op":"+", + "left":"h2", + "right":1 + } + }, + { + "ref":"a2", + "value":0 + }, + { + "ref":"h2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":"v2_1_a" + }, + "right":{ + "op":"=", + "left":"a2", + "right":"v2_2_a" + } + } + } + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h2", + "right":1 + }, + "right":"v2_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h2", + "right":1 + }, + "right":"v2_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"v2_1_a", + "value":"a2" + }, + { + "ref":"v2_1_h", + "value":{ + "op":"+", + "left":"h2", + "right":1 + } + }, + { + "ref":"v2_2_a", + "value":"v2_1_a" + }, + { + "ref":"v2_2_h", + "value":"v2_1_h" + }, + { + "ref":"a2", + "value":0 + }, + { + "ref":"h2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"start2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":">", + "left":"s1", + "right":0 + }, + "right":{ + "op":">", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"s4", + "right":0 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v2_1_a", + "right":0 + }, + 1, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v2_2_a", + "right":0 + }, + 1, + 0 + ] + } + }, + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v2_1_a", + "right":0 + }, + 1, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v2_2_a", + "right":0 + }, + 1, + 0 + ] + } + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"send2", + "value":"v2_1_a" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v2_1_a", + "right":0 + }, + 1, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v2_2_a", + "right":0 + }, + 1, + 0 + ] + } + }, + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"send2", + "value":"v2_1_a" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"send2", + "value":"v2_2_a" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push2_1_0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"send2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"i2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i2", + "value":{ + "op":"+", + "left":"i2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"push2_1_1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"send2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"i2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"v2_1_h", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"i2", + "value":0 + }, + { + "ref":"send2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push2_1_end", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"send2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i2", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_1_h", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i2", + "right":2 + }, + "right":{ + "op":"=", + "left":"v2_2_h", + "right":4 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"i2", + "value":0 + }, + { + "ref":"send2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push2_3_0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"send2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"i2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i2", + "value":{ + "op":"+", + "left":"i2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push2_3_1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"send2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"i2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"v2_1_h", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"i2", + "value":0 + }, + { + "ref":"send2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push2_3_end", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"send2", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i2", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_1_h", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i2", + "right":2 + }, + "right":{ + "op":"=", + "left":"v2_2_h", + "right":4 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"i2", + "value":0 + }, + { + "ref":"send2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push2_4_0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"send2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"i2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i2", + "value":{ + "op":"+", + "left":"i2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push2_4_1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"send2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"i2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"v2_1_h", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"i2", + "value":0 + }, + { + "ref":"send2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push2_4_end", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"send2", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i2", + "right":1 + }, + "right":{ + "op":"=", + "left":"v2_1_h", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i2", + "right":2 + }, + "right":{ + "op":"=", + "left":"v2_2_h", + "right":4 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"i2", + "value":0 + }, + { + "ref":"send2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"M3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"push2_3_0", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"a3", + "value":2 + }, + { + "ref":"h3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push1_3_0", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"a3", + "value":1 + }, + { + "ref":"h3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push4_3_0", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"a3", + "value":4 + }, + { + "ref":"h3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push2_3_1", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"a3", + "value":"v2_1_a" + }, + { + "ref":"h3", + "value":"v2_1_h" + } + ] + } + ] + }, + { + "location":"location", + "action":"push1_3_1", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"a3", + "value":"v1_1_a" + }, + { + "ref":"h3", + "value":"v1_1_h" + } + ] + } + ] + }, + { + "location":"location", + "action":"push4_3_1", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"a3", + "value":"v4_1_a" + }, + { + "ref":"h3", + "value":"v4_1_h" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push2_3_end", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"a3", + "value":0 + }, + { + "ref":"h3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push1_3_end", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"a3", + "value":0 + }, + { + "ref":"h3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push4_3_end", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"a3", + "value":0 + }, + { + "ref":"h3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"a3", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"a3", + "value":0 + }, + { + "ref":"h3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a3", + "right":3 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":"v3_1_a" + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"h3", + "right":1 + }, + "right":"v3_1_h" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":"v3_2_a" + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"h3", + "right":1 + }, + "right":"v3_2_h" + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"a3", + "value":0 + }, + { + "ref":"h3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a3", + "right":3 + } + } + }, + "right":{ + "op":"=", + "left":"a3", + "right":"v3_1_a" + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"h3", + "right":1 + }, + "right":"v3_1_h" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"v3_1_h", + "value":{ + "op":"+", + "left":"h3", + "right":1 + } + }, + { + "ref":"a3", + "value":0 + }, + { + "ref":"h3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a3", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a3", + "right":"v3_1_a" + } + } + }, + "right":{ + "op":"=", + "left":"a3", + "right":"v3_2_a" + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"h3", + "right":1 + }, + "right":"v3_2_h" + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h3", + "right":1 + }, + "right":"v3_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h3", + "right":1 + }, + "right":"v3_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"v3_2_a", + "value":"a3" + }, + { + "ref":"v3_2_h", + "value":{ + "op":"+", + "left":"h3", + "right":1 + } + }, + { + "ref":"a3", + "value":0 + }, + { + "ref":"h3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a3", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a3", + "right":"v3_1_a" + } + } + }, + "right":{ + "op":"=", + "left":"a3", + "right":"v3_2_a" + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"h3", + "right":1 + }, + "right":"v3_2_h" + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h3", + "right":1 + }, + "right":"v3_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h3", + "right":1 + }, + "right":"v3_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"v3_1_a", + "value":"a3" + }, + { + "ref":"v3_1_h", + "value":{ + "op":"+", + "left":"h3", + "right":1 + } + }, + { + "ref":"v3_2_a", + "value":"v3_1_a" + }, + { + "ref":"v3_2_h", + "value":"v3_1_h" + }, + { + "ref":"a3", + "value":0 + }, + { + "ref":"h3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":"v3_1_a" + }, + "right":{ + "op":"=", + "left":"a3", + "right":"v3_2_a" + } + } + } + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h3", + "right":1 + }, + "right":"v3_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h3", + "right":1 + }, + "right":"v3_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"a3", + "value":0 + }, + { + "ref":"h3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":"v3_1_a" + }, + "right":{ + "op":"=", + "left":"a3", + "right":"v3_2_a" + } + } + } + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h3", + "right":1 + }, + "right":"v3_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h3", + "right":1 + }, + "right":"v3_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"v3_2_a", + "value":"a3" + }, + { + "ref":"v3_2_h", + "value":{ + "op":"+", + "left":"h3", + "right":1 + } + }, + { + "ref":"a3", + "value":0 + }, + { + "ref":"h3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":"v3_1_a" + }, + "right":{ + "op":"=", + "left":"a3", + "right":"v3_2_a" + } + } + } + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h3", + "right":1 + }, + "right":"v3_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h3", + "right":1 + }, + "right":"v3_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"v3_1_a", + "value":"a3" + }, + { + "ref":"v3_1_h", + "value":{ + "op":"+", + "left":"h3", + "right":1 + } + }, + { + "ref":"v3_2_a", + "value":"v3_1_a" + }, + { + "ref":"v3_2_h", + "value":"v3_1_h" + }, + { + "ref":"a3", + "value":0 + }, + { + "ref":"h3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"start3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":0 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":">", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"s4", + "right":0 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v3_1_a", + "right":0 + }, + 1, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v3_2_a", + "right":0 + }, + 1, + 0 + ] + } + }, + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v3_1_a", + "right":0 + }, + 1, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v3_2_a", + "right":0 + }, + 1, + 0 + ] + } + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"send3", + "value":"v3_1_a" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v3_1_a", + "right":0 + }, + 1, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v3_2_a", + "right":0 + }, + 1, + 0 + ] + } + }, + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"send3", + "value":"v3_1_a" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"send3", + "value":"v3_2_a" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push3_2_0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"send3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"i3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i3", + "value":{ + "op":"+", + "left":"i3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"push3_2_1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"send3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"i3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"v3_1_h", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"i3", + "value":0 + }, + { + "ref":"send3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push3_2_end", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"send3", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i3", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_1_h", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i3", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_h", + "right":4 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"i3", + "value":0 + }, + { + "ref":"send3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push3_1_0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"send3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"i3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i3", + "value":{ + "op":"+", + "left":"i3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"push3_1_1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"send3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"i3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"v3_1_h", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"i3", + "value":0 + }, + { + "ref":"send3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push3_1_end", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"send3", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i3", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_1_h", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i3", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_h", + "right":4 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"i3", + "value":0 + }, + { + "ref":"send3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push3_4_0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"send3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"i3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i3", + "value":{ + "op":"+", + "left":"i3", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push3_4_1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"send3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"i3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"v3_1_h", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"i3", + "value":0 + }, + { + "ref":"send3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push3_4_end", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"send3", + "right":4 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i3", + "right":1 + }, + "right":{ + "op":"=", + "left":"v3_1_h", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i3", + "right":2 + }, + "right":{ + "op":"=", + "left":"v3_2_h", + "right":4 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"i3", + "value":0 + }, + { + "ref":"send3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"M4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"push2_4_0", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"a4", + "value":2 + }, + { + "ref":"h4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push3_4_0", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"a4", + "value":3 + }, + { + "ref":"h4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push1_4_0", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"a4", + "value":1 + }, + { + "ref":"h4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push2_4_1", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"a4", + "value":"v2_1_a" + }, + { + "ref":"h4", + "value":"v2_1_h" + } + ] + } + ] + }, + { + "location":"location", + "action":"push3_4_1", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"a4", + "value":"v3_1_a" + }, + { + "ref":"h4", + "value":"v3_1_h" + } + ] + } + ] + }, + { + "location":"location", + "action":"push1_4_1", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"a4", + "value":"v1_1_a" + }, + { + "ref":"h4", + "value":"v1_1_h" + } + ] + } + ] + }, + { + "location":"location", + "action":"push2_4_end", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"a4", + "value":0 + }, + { + "ref":"h4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push3_4_end", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"a4", + "value":0 + }, + { + "ref":"h4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push1_4_end", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"a4", + "value":0 + }, + { + "ref":"h4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"a4", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"a4", + "value":0 + }, + { + "ref":"h4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a4", + "right":4 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":"v4_1_a" + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"h4", + "right":1 + }, + "right":"v4_1_h" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":"v4_2_a" + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"h4", + "right":1 + }, + "right":"v4_2_h" + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"a4", + "value":0 + }, + { + "ref":"h4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a4", + "right":4 + } + } + }, + "right":{ + "op":"=", + "left":"a4", + "right":"v4_1_a" + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"h4", + "right":1 + }, + "right":"v4_1_h" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"v4_1_h", + "value":{ + "op":"+", + "left":"h4", + "right":1 + } + }, + { + "ref":"a4", + "value":0 + }, + { + "ref":"h4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a4", + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a4", + "right":"v4_1_a" + } + } + }, + "right":{ + "op":"=", + "left":"a4", + "right":"v4_2_a" + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"h4", + "right":1 + }, + "right":"v4_2_h" + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h4", + "right":1 + }, + "right":"v4_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h4", + "right":1 + }, + "right":"v4_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"v4_2_a", + "value":"a4" + }, + { + "ref":"v4_2_h", + "value":{ + "op":"+", + "left":"h4", + "right":1 + } + }, + { + "ref":"a4", + "value":0 + }, + { + "ref":"h4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a4", + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"a4", + "right":"v4_1_a" + } + } + }, + "right":{ + "op":"=", + "left":"a4", + "right":"v4_2_a" + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"h4", + "right":1 + }, + "right":"v4_2_h" + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h4", + "right":1 + }, + "right":"v4_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h4", + "right":1 + }, + "right":"v4_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"v4_1_a", + "value":"a4" + }, + { + "ref":"v4_1_h", + "value":{ + "op":"+", + "left":"h4", + "right":1 + } + }, + { + "ref":"v4_2_a", + "value":"v4_1_a" + }, + { + "ref":"v4_2_h", + "value":"v4_1_h" + }, + { + "ref":"a4", + "value":0 + }, + { + "ref":"h4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":"v4_1_a" + }, + "right":{ + "op":"=", + "left":"a4", + "right":"v4_2_a" + } + } + } + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h4", + "right":1 + }, + "right":"v4_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h4", + "right":1 + }, + "right":"v4_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"a4", + "value":0 + }, + { + "ref":"h4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":"v4_1_a" + }, + "right":{ + "op":"=", + "left":"a4", + "right":"v4_2_a" + } + } + } + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h4", + "right":1 + }, + "right":"v4_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h4", + "right":1 + }, + "right":"v4_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"v4_2_a", + "value":"a4" + }, + { + "ref":"v4_2_h", + "value":{ + "op":"+", + "left":"h4", + "right":1 + } + }, + { + "ref":"a4", + "value":0 + }, + { + "ref":"h4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":"v4_1_a" + }, + "right":{ + "op":"=", + "left":"a4", + "right":"v4_2_a" + } + } + } + } + }, + "right":{ + "op":"=", + "left":{ + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h4", + "right":1 + }, + "right":"v4_1_h" + }, + 1, + { + "op":"?:", + "args":[ + { + "op":"≤", + "left":{ + "op":"+", + "left":"h4", + "right":1 + }, + "right":"v4_2_h" + }, + 2, + 3 + ] + } + ] + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"v4_1_a", + "value":"a4" + }, + { + "ref":"v4_1_h", + "value":{ + "op":"+", + "left":"h4", + "right":1 + } + }, + { + "ref":"v4_2_a", + "value":"v4_1_a" + }, + { + "ref":"v4_2_h", + "value":"v4_1_h" + }, + { + "ref":"a4", + "value":0 + }, + { + "ref":"h4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"start4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":0 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":">", + "left":"s2", + "right":0 + }, + "right":{ + "op":">", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":">", + "left":"s1", + "right":0 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v4_1_a", + "right":0 + }, + 1, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v4_2_a", + "right":0 + }, + 1, + 0 + ] + } + }, + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v4_1_a", + "right":0 + }, + 1, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v4_2_a", + "right":0 + }, + 1, + 0 + ] + } + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"send4", + "value":"v4_1_a" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v4_1_a", + "right":0 + }, + 1, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":">", + "left":"v4_2_a", + "right":0 + }, + 1, + 0 + ] + } + }, + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"send4", + "value":"v4_1_a" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"send4", + "value":"v4_2_a" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"push4_2_0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"send4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"i4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i4", + "value":{ + "op":"+", + "left":"i4", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"push4_2_1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"send4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"i4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"v4_1_h", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"i4", + "value":0 + }, + { + "ref":"send4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push4_2_end", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"send4", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i4", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_1_h", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i4", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_h", + "right":4 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"i4", + "value":0 + }, + { + "ref":"send4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push4_3_0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"send4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"i4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i4", + "value":{ + "op":"+", + "left":"i4", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"push4_3_1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"send4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"i4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"v4_1_h", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"i4", + "value":0 + }, + { + "ref":"send4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push4_3_end", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"send4", + "right":3 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i4", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_1_h", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i4", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_h", + "right":4 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"i4", + "value":0 + }, + { + "ref":"send4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push4_1_0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"send4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"i4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i4", + "value":{ + "op":"+", + "left":"i4", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"push4_1_1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"send4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"i4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"v4_1_h", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"i4", + "value":0 + }, + { + "ref":"send4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"push4_1_end", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"send4", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i4", + "right":1 + }, + "right":{ + "op":"=", + "left":"v4_1_h", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i4", + "right":2 + }, + "right":{ + "op":"=", + "left":"v4_2_h", + "right":4 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"i4", + "value":0 + }, + { + "ref":"send4", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"SCHED" + }, + { + "automaton":"M1" + }, + { + "automaton":"M2" + }, + { + "automaton":"M3" + }, + { + "automaton":"M4" + } + ], + "syncs":[ + { + "synchronise":[ + "start4", + null, + null, + null, + "start4" + ], + "result":"start4" + }, + { + "synchronise":[ + null, + "push4_1_0", + null, + null, + "push4_1_0" + ], + "result":"push4_1_0" + }, + { + "synchronise":[ + null, + "push4_1_1", + null, + null, + "push4_1_1" + ], + "result":"push4_1_1" + }, + { + "synchronise":[ + null, + "push4_1_end", + null, + null, + "push4_1_end" + ], + "result":"push4_1_end" + }, + { + "synchronise":[ + null, + "push1_4_0", + null, + null, + "push1_4_0" + ], + "result":"push1_4_0" + }, + { + "synchronise":[ + null, + "push1_4_1", + null, + null, + "push1_4_1" + ], + "result":"push1_4_1" + }, + { + "synchronise":[ + null, + "push1_4_end", + null, + null, + "push1_4_end" + ], + "result":"push1_4_end" + }, + { + "synchronise":[ + null, + null, + "push4_2_0", + null, + "push4_2_0" + ], + "result":"push4_2_0" + }, + { + "synchronise":[ + null, + null, + "push4_2_1", + null, + "push4_2_1" + ], + "result":"push4_2_1" + }, + { + "synchronise":[ + null, + null, + "push4_2_end", + null, + "push4_2_end" + ], + "result":"push4_2_end" + }, + { + "synchronise":[ + null, + null, + "push2_4_0", + null, + "push2_4_0" + ], + "result":"push2_4_0" + }, + { + "synchronise":[ + null, + null, + "push2_4_1", + null, + "push2_4_1" + ], + "result":"push2_4_1" + }, + { + "synchronise":[ + null, + null, + "push2_4_end", + null, + "push2_4_end" + ], + "result":"push2_4_end" + }, + { + "synchronise":[ + null, + null, + null, + "push4_3_0", + "push4_3_0" + ], + "result":"push4_3_0" + }, + { + "synchronise":[ + null, + null, + null, + "push4_3_1", + "push4_3_1" + ], + "result":"push4_3_1" + }, + { + "synchronise":[ + null, + null, + null, + "push4_3_end", + "push4_3_end" + ], + "result":"push4_3_end" + }, + { + "synchronise":[ + null, + null, + null, + "push3_4_0", + "push3_4_0" + ], + "result":"push3_4_0" + }, + { + "synchronise":[ + null, + null, + null, + "push3_4_1", + "push3_4_1" + ], + "result":"push3_4_1" + }, + { + "synchronise":[ + null, + null, + null, + "push3_4_end", + "push3_4_end" + ], + "result":"push3_4_end" + }, + { + "synchronise":[ + "start3", + null, + null, + "start3", + null + ], + "result":"start3" + }, + { + "synchronise":[ + null, + "push3_1_0", + null, + "push3_1_0", + null + ], + "result":"push3_1_0" + }, + { + "synchronise":[ + null, + "push3_1_1", + null, + "push3_1_1", + null + ], + "result":"push3_1_1" + }, + { + "synchronise":[ + null, + "push3_1_end", + null, + "push3_1_end", + null + ], + "result":"push3_1_end" + }, + { + "synchronise":[ + null, + "push1_3_0", + null, + "push1_3_0", + null + ], + "result":"push1_3_0" + }, + { + "synchronise":[ + null, + "push1_3_1", + null, + "push1_3_1", + null + ], + "result":"push1_3_1" + }, + { + "synchronise":[ + null, + "push1_3_end", + null, + "push1_3_end", + null + ], + "result":"push1_3_end" + }, + { + "synchronise":[ + null, + null, + "push3_2_0", + "push3_2_0", + null + ], + "result":"push3_2_0" + }, + { + "synchronise":[ + null, + null, + "push3_2_1", + "push3_2_1", + null + ], + "result":"push3_2_1" + }, + { + "synchronise":[ + null, + null, + "push3_2_end", + "push3_2_end", + null + ], + "result":"push3_2_end" + }, + { + "synchronise":[ + null, + null, + "push2_3_0", + "push2_3_0", + null + ], + "result":"push2_3_0" + }, + { + "synchronise":[ + null, + null, + "push2_3_1", + "push2_3_1", + null + ], + "result":"push2_3_1" + }, + { + "synchronise":[ + null, + null, + "push2_3_end", + "push2_3_end", + null + ], + "result":"push2_3_end" + }, + { + "synchronise":[ + "start2", + null, + "start2", + null, + null + ], + "result":"start2" + }, + { + "synchronise":[ + null, + "push2_1_0", + "push2_1_0", + null, + null + ], + "result":"push2_1_0" + }, + { + "synchronise":[ + null, + "push2_1_1", + "push2_1_1", + null, + null + ], + "result":"push2_1_1" + }, + { + "synchronise":[ + null, + "push2_1_end", + "push2_1_end", + null, + null + ], + "result":"push2_1_end" + }, + { + "synchronise":[ + null, + "push1_2_0", + "push1_2_0", + null, + null + ], + "result":"push1_2_0" + }, + { + "synchronise":[ + null, + "push1_2_1", + "push1_2_1", + null, + null + ], + "result":"push1_2_1" + }, + { + "synchronise":[ + null, + "push1_2_end", + "push1_2_end", + null, + null + ], + "result":"push1_2_end" + }, + { + "synchronise":[ + "start1", + "start1", + null, + null, + null + ], + "result":"start1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/graph4.jani b/examples/exported-jani-models/graph4.jani new file mode 100644 index 000000000..f54b4c7a1 --- /dev/null +++ b/examples/exported-jani-models/graph4.jani @@ -0,0 +1,928 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"s12" + }, + { + "name":"s13" + }, + { + "name":"s14" + }, + { + "name":"s23" + }, + { + "name":"s24" + }, + { + "name":"s34" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"p", + "type":"real" + } + ], + "variables":[ + { + "name":"pc", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":12 + } + }, + { + "name":"x12", + "type":"bool" + }, + { + "name":"x13", + "type":"bool" + }, + { + "name":"x14", + "type":"bool" + }, + { + "name":"x23", + "type":"bool" + }, + { + "name":"x24", + "type":"bool" + }, + { + "name":"x34", + "type":"bool" + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc", + "right":0 + }, + "right":{ + "op":"=", + "left":"x12", + "right":false + } + }, + "right":{ + "op":"=", + "left":"x13", + "right":false + } + }, + "right":{ + "op":"=", + "left":"x14", + "right":false + } + }, + "right":{ + "op":"=", + "left":"x23", + "right":false + } + }, + "right":{ + "op":"=", + "left":"x24", + "right":false + } + }, + "right":{ + "op":"=", + "left":"x34", + "right":false + } + } + }, + "automata":[ + { + "name":"PC", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s12", + "guard":{ + "exp":{ + "op":"=", + "left":"pc", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc", + "value":{ + "op":"+", + "left":"pc", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"s13", + "guard":{ + "exp":{ + "op":"=", + "left":"pc", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc", + "value":{ + "op":"+", + "left":"pc", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"s14", + "guard":{ + "exp":{ + "op":"=", + "left":"pc", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc", + "value":{ + "op":"+", + "left":"pc", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"s23", + "guard":{ + "exp":{ + "op":"=", + "left":"pc", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc", + "value":{ + "op":"+", + "left":"pc", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"s24", + "guard":{ + "exp":{ + "op":"=", + "left":"pc", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc", + "value":{ + "op":"+", + "left":"pc", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"s34", + "guard":{ + "exp":{ + "op":"=", + "left":"pc", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"pc", + "value":{ + "op":"+", + "left":"pc", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"M12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s12", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":"p" + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"p" + } + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":false + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc", + "right":6 + }, + "right":{ + "op":"¬", + "exp":"x12" + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":false, + "right":{ + "op":"∧", + "left":"x13", + "right":"x23" + } + }, + "right":{ + "op":"∧", + "left":"x14", + "right":"x24" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":true + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"M13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s13", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":"p" + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"p" + } + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":false + } + ] + } + ] + } + ] + }, + { + "name":"M14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s14", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":"p" + }, + "location":"location", + "assignments":[ + { + "ref":"x14", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"p" + } + }, + "location":"location", + "assignments":[ + { + "ref":"x14", + "value":false + } + ] + } + ] + } + ] + }, + { + "name":"M23", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s23", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":"p" + }, + "location":"location", + "assignments":[ + { + "ref":"x23", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"p" + } + }, + "location":"location", + "assignments":[ + { + "ref":"x23", + "value":false + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc", + "right":6 + }, + "right":{ + "op":"¬", + "exp":"x23" + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":false, + "right":{ + "op":"∧", + "left":"x12", + "right":"x13" + } + }, + "right":{ + "op":"∧", + "left":"x24", + "right":"x34" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x23", + "value":true + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"M24", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s24", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":"p" + }, + "location":"location", + "assignments":[ + { + "ref":"x24", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"p" + } + }, + "location":"location", + "assignments":[ + { + "ref":"x24", + "value":false + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"pc", + "right":6 + }, + "right":{ + "op":"¬", + "exp":"x24" + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":false, + "right":{ + "op":"∧", + "left":"x12", + "right":"x14" + } + }, + "right":{ + "op":"∧", + "left":"x23", + "right":"x34" + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x24", + "value":true + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"M34", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s34", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":"p" + }, + "location":"location", + "assignments":[ + { + "ref":"x34", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"p" + } + }, + "location":"location", + "assignments":[ + { + "ref":"x34", + "value":false + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"PC" + }, + { + "automaton":"M12" + }, + { + "automaton":"M13" + }, + { + "automaton":"M14" + }, + { + "automaton":"M23" + }, + { + "automaton":"M24" + }, + { + "automaton":"M34" + } + ], + "syncs":[ + { + "synchronise":[ + "s34", + null, + null, + null, + null, + null, + "s34" + ], + "result":"s34" + }, + { + "synchronise":[ + "s24", + null, + null, + null, + null, + "s24", + null + ], + "result":"s24" + }, + { + "synchronise":[ + "s23", + null, + null, + null, + "s23", + null, + null + ], + "result":"s23" + }, + { + "synchronise":[ + "s14", + null, + null, + "s14", + null, + null, + null + ], + "result":"s14" + }, + { + "synchronise":[ + "s13", + null, + "s13", + null, + null, + null, + null + ], + "result":"s13" + }, + { + "synchronise":[ + "s12", + "s12", + null, + null, + null, + null, + null + ], + "result":"s12" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/herman11.jani b/examples/exported-jani-models/herman11.jani new file mode 100644 index 000000000..621bb8219 --- /dev/null +++ b/examples/exported-jani-models/herman11.jani @@ -0,0 +1,1094 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"step" + } + ], + "variables":[ + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":true + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x1", + "right":"x11" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x1", + "right":"x11" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":"x11" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":"x1" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":"x2" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":"x3" + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":"x4" + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":"x5" + } + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":"x6" + } + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x8", + "right":"x7" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x8", + "right":"x7" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":"x7" + } + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x9", + "right":"x8" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x9", + "right":"x8" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":"x8" + } + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x10", + "right":"x9" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x10", + "right":"x9" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":"x9" + } + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x11", + "right":"x10" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x11", + "right":"x10" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":"x10" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + } + ], + "syncs":[ + { + "synchronise":[ + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step" + ], + "result":"step" + } + ] + } +} diff --git a/examples/exported-jani-models/herman13.jani b/examples/exported-jani-models/herman13.jani new file mode 100644 index 000000000..0c32f64e4 --- /dev/null +++ b/examples/exported-jani-models/herman13.jani @@ -0,0 +1,1284 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"step" + } + ], + "variables":[ + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":true + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x1", + "right":"x13" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x1", + "right":"x13" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":"x13" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":"x1" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":"x2" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":"x3" + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":"x4" + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":"x5" + } + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":"x6" + } + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x8", + "right":"x7" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x8", + "right":"x7" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":"x7" + } + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x9", + "right":"x8" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x9", + "right":"x8" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":"x8" + } + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x10", + "right":"x9" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x10", + "right":"x9" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":"x9" + } + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x11", + "right":"x10" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x11", + "right":"x10" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":"x10" + } + ] + } + ] + } + ] + }, + { + "name":"process12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x12", + "right":"x11" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x12", + "right":"x11" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":"x11" + } + ] + } + ] + } + ] + }, + { + "name":"process13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x13", + "right":"x12" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x13", + "right":"x12" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":"x12" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + }, + { + "automaton":"process12" + }, + { + "automaton":"process13" + } + ], + "syncs":[ + { + "synchronise":[ + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step" + ], + "result":"step" + } + ] + } +} diff --git a/examples/exported-jani-models/herman15.jani b/examples/exported-jani-models/herman15.jani new file mode 100644 index 000000000..110ed4784 --- /dev/null +++ b/examples/exported-jani-models/herman15.jani @@ -0,0 +1,1474 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"step" + } + ], + "variables":[ + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":true + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x1", + "right":"x15" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x1", + "right":"x15" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":"x15" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":"x1" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":"x2" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":"x3" + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":"x4" + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":"x5" + } + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":"x6" + } + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x8", + "right":"x7" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x8", + "right":"x7" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":"x7" + } + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x9", + "right":"x8" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x9", + "right":"x8" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":"x8" + } + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x10", + "right":"x9" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x10", + "right":"x9" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":"x9" + } + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x11", + "right":"x10" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x11", + "right":"x10" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":"x10" + } + ] + } + ] + } + ] + }, + { + "name":"process12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x12", + "right":"x11" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x12", + "right":"x11" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":"x11" + } + ] + } + ] + } + ] + }, + { + "name":"process13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x13", + "right":"x12" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x13", + "right":"x12" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":"x12" + } + ] + } + ] + } + ] + }, + { + "name":"process14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x14", + "right":"x13" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x14", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x14", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x14", + "right":"x13" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x14", + "value":"x13" + } + ] + } + ] + } + ] + }, + { + "name":"process15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x15", + "right":"x14" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x15", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x15", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x15", + "right":"x14" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x15", + "value":"x14" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + }, + { + "automaton":"process12" + }, + { + "automaton":"process13" + }, + { + "automaton":"process14" + }, + { + "automaton":"process15" + } + ], + "syncs":[ + { + "synchronise":[ + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step" + ], + "result":"step" + } + ] + } +} diff --git a/examples/exported-jani-models/herman17.jani b/examples/exported-jani-models/herman17.jani new file mode 100644 index 000000000..0b204983a --- /dev/null +++ b/examples/exported-jani-models/herman17.jani @@ -0,0 +1,1664 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"step" + } + ], + "variables":[ + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":true + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x1", + "right":"x17" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x1", + "right":"x17" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":"x17" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":"x1" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":"x2" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":"x3" + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":"x4" + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":"x5" + } + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":"x6" + } + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x8", + "right":"x7" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x8", + "right":"x7" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":"x7" + } + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x9", + "right":"x8" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x9", + "right":"x8" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":"x8" + } + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x10", + "right":"x9" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x10", + "right":"x9" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":"x9" + } + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x11", + "right":"x10" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x11", + "right":"x10" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":"x10" + } + ] + } + ] + } + ] + }, + { + "name":"process12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x12", + "right":"x11" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x12", + "right":"x11" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":"x11" + } + ] + } + ] + } + ] + }, + { + "name":"process13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x13", + "right":"x12" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x13", + "right":"x12" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":"x12" + } + ] + } + ] + } + ] + }, + { + "name":"process14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x14", + "right":"x13" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x14", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x14", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x14", + "right":"x13" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x14", + "value":"x13" + } + ] + } + ] + } + ] + }, + { + "name":"process15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x15", + "right":"x14" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x15", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x15", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x15", + "right":"x14" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x15", + "value":"x14" + } + ] + } + ] + } + ] + }, + { + "name":"process16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x16", + "right":"x15" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x16", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x16", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x16", + "right":"x15" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x16", + "value":"x15" + } + ] + } + ] + } + ] + }, + { + "name":"process17", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x17", + "right":"x16" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x17", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x17", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x17", + "right":"x16" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x17", + "value":"x16" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + }, + { + "automaton":"process12" + }, + { + "automaton":"process13" + }, + { + "automaton":"process14" + }, + { + "automaton":"process15" + }, + { + "automaton":"process16" + }, + { + "automaton":"process17" + } + ], + "syncs":[ + { + "synchronise":[ + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step" + ], + "result":"step" + } + ] + } +} diff --git a/examples/exported-jani-models/herman19.jani b/examples/exported-jani-models/herman19.jani new file mode 100644 index 000000000..3f1089c4c --- /dev/null +++ b/examples/exported-jani-models/herman19.jani @@ -0,0 +1,1854 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"step" + } + ], + "variables":[ + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x19", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":true + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x1", + "right":"x19" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x1", + "right":"x19" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":"x19" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":"x1" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":"x2" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":"x3" + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":"x4" + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":"x5" + } + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":"x6" + } + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x8", + "right":"x7" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x8", + "right":"x7" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":"x7" + } + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x9", + "right":"x8" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x9", + "right":"x8" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":"x8" + } + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x10", + "right":"x9" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x10", + "right":"x9" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":"x9" + } + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x11", + "right":"x10" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x11", + "right":"x10" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":"x10" + } + ] + } + ] + } + ] + }, + { + "name":"process12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x12", + "right":"x11" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x12", + "right":"x11" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":"x11" + } + ] + } + ] + } + ] + }, + { + "name":"process13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x13", + "right":"x12" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x13", + "right":"x12" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":"x12" + } + ] + } + ] + } + ] + }, + { + "name":"process14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x14", + "right":"x13" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x14", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x14", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x14", + "right":"x13" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x14", + "value":"x13" + } + ] + } + ] + } + ] + }, + { + "name":"process15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x15", + "right":"x14" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x15", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x15", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x15", + "right":"x14" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x15", + "value":"x14" + } + ] + } + ] + } + ] + }, + { + "name":"process16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x16", + "right":"x15" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x16", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x16", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x16", + "right":"x15" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x16", + "value":"x15" + } + ] + } + ] + } + ] + }, + { + "name":"process17", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x17", + "right":"x16" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x17", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x17", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x17", + "right":"x16" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x17", + "value":"x16" + } + ] + } + ] + } + ] + }, + { + "name":"process18", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x18", + "right":"x17" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x18", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x18", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x18", + "right":"x17" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x18", + "value":"x17" + } + ] + } + ] + } + ] + }, + { + "name":"process19", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x19", + "right":"x18" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x19", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x19", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x19", + "right":"x18" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x19", + "value":"x18" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + }, + { + "automaton":"process12" + }, + { + "automaton":"process13" + }, + { + "automaton":"process14" + }, + { + "automaton":"process15" + }, + { + "automaton":"process16" + }, + { + "automaton":"process17" + }, + { + "automaton":"process18" + }, + { + "automaton":"process19" + } + ], + "syncs":[ + { + "synchronise":[ + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step" + ], + "result":"step" + } + ] + } +} diff --git a/examples/exported-jani-models/herman21.jani b/examples/exported-jani-models/herman21.jani new file mode 100644 index 000000000..096b0e88b --- /dev/null +++ b/examples/exported-jani-models/herman21.jani @@ -0,0 +1,2044 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"step" + } + ], + "variables":[ + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x19", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x20", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":true + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x1", + "right":"x21" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x1", + "right":"x21" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":"x21" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":"x1" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":"x2" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":"x3" + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":"x4" + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":"x5" + } + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":"x6" + } + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x8", + "right":"x7" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x8", + "right":"x7" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":"x7" + } + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x9", + "right":"x8" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x9", + "right":"x8" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":"x8" + } + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x10", + "right":"x9" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x10", + "right":"x9" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x10", + "value":"x9" + } + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x11", + "right":"x10" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x11", + "right":"x10" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x11", + "value":"x10" + } + ] + } + ] + } + ] + }, + { + "name":"process12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x12", + "right":"x11" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x12", + "right":"x11" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x12", + "value":"x11" + } + ] + } + ] + } + ] + }, + { + "name":"process13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x13", + "right":"x12" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x13", + "right":"x12" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x13", + "value":"x12" + } + ] + } + ] + } + ] + }, + { + "name":"process14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x14", + "right":"x13" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x14", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x14", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x14", + "right":"x13" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x14", + "value":"x13" + } + ] + } + ] + } + ] + }, + { + "name":"process15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x15", + "right":"x14" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x15", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x15", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x15", + "right":"x14" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x15", + "value":"x14" + } + ] + } + ] + } + ] + }, + { + "name":"process16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x16", + "right":"x15" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x16", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x16", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x16", + "right":"x15" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x16", + "value":"x15" + } + ] + } + ] + } + ] + }, + { + "name":"process17", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x17", + "right":"x16" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x17", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x17", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x17", + "right":"x16" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x17", + "value":"x16" + } + ] + } + ] + } + ] + }, + { + "name":"process18", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x18", + "right":"x17" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x18", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x18", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x18", + "right":"x17" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x18", + "value":"x17" + } + ] + } + ] + } + ] + }, + { + "name":"process19", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x19", + "right":"x18" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x19", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x19", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x19", + "right":"x18" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x19", + "value":"x18" + } + ] + } + ] + } + ] + }, + { + "name":"process20", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x20", + "right":"x19" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x20", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x20", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x20", + "right":"x19" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x20", + "value":"x19" + } + ] + } + ] + } + ] + }, + { + "name":"process21", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x21", + "right":"x20" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x21", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x21", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x21", + "right":"x20" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x21", + "value":"x20" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + }, + { + "automaton":"process12" + }, + { + "automaton":"process13" + }, + { + "automaton":"process14" + }, + { + "automaton":"process15" + }, + { + "automaton":"process16" + }, + { + "automaton":"process17" + }, + { + "automaton":"process18" + }, + { + "automaton":"process19" + }, + { + "automaton":"process20" + }, + { + "automaton":"process21" + } + ], + "syncs":[ + { + "synchronise":[ + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step" + ], + "result":"step" + } + ] + } +} diff --git a/examples/exported-jani-models/herman3.jani b/examples/exported-jani-models/herman3.jani new file mode 100644 index 000000000..7722ecdb3 --- /dev/null +++ b/examples/exported-jani-models/herman3.jani @@ -0,0 +1,334 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"step" + } + ], + "variables":[ + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":true + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x1", + "right":"x3" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x1", + "right":"x3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":"x3" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":"x1" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":"x2" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + } + ], + "syncs":[ + { + "synchronise":[ + "step", + "step", + "step" + ], + "result":"step" + } + ] + } +} diff --git a/examples/exported-jani-models/herman5.jani b/examples/exported-jani-models/herman5.jani new file mode 100644 index 000000000..3f01e85f8 --- /dev/null +++ b/examples/exported-jani-models/herman5.jani @@ -0,0 +1,524 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"step" + } + ], + "variables":[ + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":true + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x1", + "right":"x5" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x1", + "right":"x5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":"x5" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":"x1" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":"x2" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":"x3" + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":"x4" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + } + ], + "syncs":[ + { + "synchronise":[ + "step", + "step", + "step", + "step", + "step" + ], + "result":"step" + } + ] + } +} diff --git a/examples/exported-jani-models/herman7.jani b/examples/exported-jani-models/herman7.jani new file mode 100644 index 000000000..e77360b26 --- /dev/null +++ b/examples/exported-jani-models/herman7.jani @@ -0,0 +1,714 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"step" + } + ], + "variables":[ + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":true + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x1", + "right":"x7" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x1", + "right":"x7" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":"x7" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":"x1" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":"x2" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":"x3" + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":"x4" + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":"x5" + } + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":"x6" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + } + ], + "syncs":[ + { + "synchronise":[ + "step", + "step", + "step", + "step", + "step", + "step", + "step" + ], + "result":"step" + } + ] + } +} diff --git a/examples/exported-jani-models/herman9.jani b/examples/exported-jani-models/herman9.jani new file mode 100644 index 000000000..9fdbbfdb3 --- /dev/null +++ b/examples/exported-jani-models/herman9.jani @@ -0,0 +1,904 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"step" + } + ], + "variables":[ + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":true + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x1", + "right":"x9" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x1", + "right":"x9" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":"x9" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x2", + "right":"x1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":"x1" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x3", + "right":"x2" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":"x2" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x4", + "right":"x3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":"x3" + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x5", + "right":"x4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x5", + "value":"x4" + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x6", + "right":"x5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x6", + "value":"x5" + } + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x7", + "right":"x6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x7", + "value":"x6" + } + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x8", + "right":"x7" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x8", + "right":"x7" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x8", + "value":"x7" + } + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"=", + "left":"x9", + "right":"x8" + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":0 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"x9", + "right":"x8" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x9", + "value":"x8" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + } + ], + "syncs":[ + { + "synchronise":[ + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step", + "step" + ], + "result":"step" + } + ] + } +} diff --git a/examples/exported-jani-models/ij10.jani b/examples/exported-jani-models/ij10.jani new file mode 100644 index 000000000..443f2ed1f --- /dev/null +++ b/examples/exported-jani-models/ij10.jani @@ -0,0 +1,968 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":"q7" + }, + "right":"q8" + }, + "right":"q9" + }, + "right":"q10" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij11.jani b/examples/exported-jani-models/ij11.jani new file mode 100644 index 000000000..81990db39 --- /dev/null +++ b/examples/exported-jani-models/ij11.jani @@ -0,0 +1,1072 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":"q7" + }, + "right":"q8" + }, + "right":"q9" + }, + "right":"q10" + }, + "right":"q11" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij12.jani b/examples/exported-jani-models/ij12.jani new file mode 100644 index 000000000..72460a1c2 --- /dev/null +++ b/examples/exported-jani-models/ij12.jani @@ -0,0 +1,1178 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":"q7" + }, + "right":"q8" + }, + "right":"q9" + }, + "right":"q10" + }, + "right":"q11" + }, + "right":"q12" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + }, + { + "automaton":"process12" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij13.jani b/examples/exported-jani-models/ij13.jani new file mode 100644 index 000000000..2efa8bbf5 --- /dev/null +++ b/examples/exported-jani-models/ij13.jani @@ -0,0 +1,1286 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":"q7" + }, + "right":"q8" + }, + "right":"q9" + }, + "right":"q10" + }, + "right":"q11" + }, + "right":"q12" + }, + "right":"q13" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + }, + { + "automaton":"process12" + }, + { + "automaton":"process13" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij14.jani b/examples/exported-jani-models/ij14.jani new file mode 100644 index 000000000..e893252e4 --- /dev/null +++ b/examples/exported-jani-models/ij14.jani @@ -0,0 +1,1396 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":"q7" + }, + "right":"q8" + }, + "right":"q9" + }, + "right":"q10" + }, + "right":"q11" + }, + "right":"q12" + }, + "right":"q13" + }, + "right":"q14" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + }, + { + "automaton":"process12" + }, + { + "automaton":"process13" + }, + { + "automaton":"process14" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij15.jani b/examples/exported-jani-models/ij15.jani new file mode 100644 index 000000000..0de06fbac --- /dev/null +++ b/examples/exported-jani-models/ij15.jani @@ -0,0 +1,1508 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":"q7" + }, + "right":"q8" + }, + "right":"q9" + }, + "right":"q10" + }, + "right":"q11" + }, + "right":"q12" + }, + "right":"q13" + }, + "right":"q14" + }, + "right":"q15" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q15", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q15", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q15", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q15", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + }, + { + "automaton":"process12" + }, + { + "automaton":"process13" + }, + { + "automaton":"process14" + }, + { + "automaton":"process15" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij16.jani b/examples/exported-jani-models/ij16.jani new file mode 100644 index 000000000..767e4f6ea --- /dev/null +++ b/examples/exported-jani-models/ij16.jani @@ -0,0 +1,1622 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":"q7" + }, + "right":"q8" + }, + "right":"q9" + }, + "right":"q10" + }, + "right":"q11" + }, + "right":"q12" + }, + "right":"q13" + }, + "right":"q14" + }, + "right":"q15" + }, + "right":"q16" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q16", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q15", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q15", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q15", + "value":0 + }, + { + "ref":"q16", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q16", + "value":0 + }, + { + "ref":"q15", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q16", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + }, + { + "automaton":"process12" + }, + { + "automaton":"process13" + }, + { + "automaton":"process14" + }, + { + "automaton":"process15" + }, + { + "automaton":"process16" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij17.jani b/examples/exported-jani-models/ij17.jani new file mode 100644 index 000000000..dfef977f6 --- /dev/null +++ b/examples/exported-jani-models/ij17.jani @@ -0,0 +1,1738 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":"q7" + }, + "right":"q8" + }, + "right":"q9" + }, + "right":"q10" + }, + "right":"q11" + }, + "right":"q12" + }, + "right":"q13" + }, + "right":"q14" + }, + "right":"q15" + }, + "right":"q16" + }, + "right":"q17" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q17", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q15", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q15", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q15", + "value":0 + }, + { + "ref":"q16", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q16", + "value":0 + }, + { + "ref":"q15", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q16", + "value":0 + }, + { + "ref":"q17", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process17", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q17", + "value":0 + }, + { + "ref":"q16", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q17", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + }, + { + "automaton":"process12" + }, + { + "automaton":"process13" + }, + { + "automaton":"process14" + }, + { + "automaton":"process15" + }, + { + "automaton":"process16" + }, + { + "automaton":"process17" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij18.jani b/examples/exported-jani-models/ij18.jani new file mode 100644 index 000000000..c295113ca --- /dev/null +++ b/examples/exported-jani-models/ij18.jani @@ -0,0 +1,1856 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":"q7" + }, + "right":"q8" + }, + "right":"q9" + }, + "right":"q10" + }, + "right":"q11" + }, + "right":"q12" + }, + "right":"q13" + }, + "right":"q14" + }, + "right":"q15" + }, + "right":"q16" + }, + "right":"q17" + }, + "right":"q18" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q18", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q15", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q15", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q15", + "value":0 + }, + { + "ref":"q16", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q16", + "value":0 + }, + { + "ref":"q15", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q16", + "value":0 + }, + { + "ref":"q17", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process17", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q17", + "value":0 + }, + { + "ref":"q16", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q17", + "value":0 + }, + { + "ref":"q18", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process18", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q18", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q18", + "value":0 + }, + { + "ref":"q17", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q18", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + }, + { + "automaton":"process12" + }, + { + "automaton":"process13" + }, + { + "automaton":"process14" + }, + { + "automaton":"process15" + }, + { + "automaton":"process16" + }, + { + "automaton":"process17" + }, + { + "automaton":"process18" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij19.jani b/examples/exported-jani-models/ij19.jani new file mode 100644 index 000000000..0ec7822d8 --- /dev/null +++ b/examples/exported-jani-models/ij19.jani @@ -0,0 +1,1976 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q19", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":"q7" + }, + "right":"q8" + }, + "right":"q9" + }, + "right":"q10" + }, + "right":"q11" + }, + "right":"q12" + }, + "right":"q13" + }, + "right":"q14" + }, + "right":"q15" + }, + "right":"q16" + }, + "right":"q17" + }, + "right":"q18" + }, + "right":"q19" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q19", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q15", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q15", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q15", + "value":0 + }, + { + "ref":"q16", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q16", + "value":0 + }, + { + "ref":"q15", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q16", + "value":0 + }, + { + "ref":"q17", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process17", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q17", + "value":0 + }, + { + "ref":"q16", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q17", + "value":0 + }, + { + "ref":"q18", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process18", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q18", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q18", + "value":0 + }, + { + "ref":"q17", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q18", + "value":0 + }, + { + "ref":"q19", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process19", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q19", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q19", + "value":0 + }, + { + "ref":"q18", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q19", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + }, + { + "automaton":"process12" + }, + { + "automaton":"process13" + }, + { + "automaton":"process14" + }, + { + "automaton":"process15" + }, + { + "automaton":"process16" + }, + { + "automaton":"process17" + }, + { + "automaton":"process18" + }, + { + "automaton":"process19" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij20.jani b/examples/exported-jani-models/ij20.jani new file mode 100644 index 000000000..2b84758a8 --- /dev/null +++ b/examples/exported-jani-models/ij20.jani @@ -0,0 +1,2098 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q19", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q20", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":"q7" + }, + "right":"q8" + }, + "right":"q9" + }, + "right":"q10" + }, + "right":"q11" + }, + "right":"q12" + }, + "right":"q13" + }, + "right":"q14" + }, + "right":"q15" + }, + "right":"q16" + }, + "right":"q17" + }, + "right":"q18" + }, + "right":"q19" + }, + "right":"q20" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q20", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q15", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q15", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q15", + "value":0 + }, + { + "ref":"q16", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q16", + "value":0 + }, + { + "ref":"q15", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q16", + "value":0 + }, + { + "ref":"q17", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process17", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q17", + "value":0 + }, + { + "ref":"q16", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q17", + "value":0 + }, + { + "ref":"q18", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process18", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q18", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q18", + "value":0 + }, + { + "ref":"q17", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q18", + "value":0 + }, + { + "ref":"q19", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process19", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q19", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q19", + "value":0 + }, + { + "ref":"q18", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q19", + "value":0 + }, + { + "ref":"q20", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process20", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q20", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q20", + "value":0 + }, + { + "ref":"q19", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q20", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + }, + { + "automaton":"process12" + }, + { + "automaton":"process13" + }, + { + "automaton":"process14" + }, + { + "automaton":"process15" + }, + { + "automaton":"process16" + }, + { + "automaton":"process17" + }, + { + "automaton":"process18" + }, + { + "automaton":"process19" + }, + { + "automaton":"process20" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij21.jani b/examples/exported-jani-models/ij21.jani new file mode 100644 index 000000000..7179f225f --- /dev/null +++ b/examples/exported-jani-models/ij21.jani @@ -0,0 +1,2222 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q19", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q20", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":"q7" + }, + "right":"q8" + }, + "right":"q9" + }, + "right":"q10" + }, + "right":"q11" + }, + "right":"q12" + }, + "right":"q13" + }, + "right":"q14" + }, + "right":"q15" + }, + "right":"q16" + }, + "right":"q17" + }, + "right":"q18" + }, + "right":"q19" + }, + "right":"q20" + }, + "right":"q21" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q21", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q10", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q10", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q11", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q11", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q12", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q12", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q13", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q13", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q14", + "value":0 + }, + { + "ref":"q15", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q15", + "value":0 + }, + { + "ref":"q14", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q15", + "value":0 + }, + { + "ref":"q16", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q16", + "value":0 + }, + { + "ref":"q15", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q16", + "value":0 + }, + { + "ref":"q17", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process17", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q17", + "value":0 + }, + { + "ref":"q16", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q17", + "value":0 + }, + { + "ref":"q18", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process18", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q18", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q18", + "value":0 + }, + { + "ref":"q17", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q18", + "value":0 + }, + { + "ref":"q19", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process19", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q19", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q19", + "value":0 + }, + { + "ref":"q18", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q19", + "value":0 + }, + { + "ref":"q20", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process20", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q20", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q20", + "value":0 + }, + { + "ref":"q19", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q20", + "value":0 + }, + { + "ref":"q21", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process21", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q21", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q21", + "value":0 + }, + { + "ref":"q20", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q21", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + }, + { + "automaton":"process11" + }, + { + "automaton":"process12" + }, + { + "automaton":"process13" + }, + { + "automaton":"process14" + }, + { + "automaton":"process15" + }, + { + "automaton":"process16" + }, + { + "automaton":"process17" + }, + { + "automaton":"process18" + }, + { + "automaton":"process19" + }, + { + "automaton":"process20" + }, + { + "automaton":"process21" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij3.jani b/examples/exported-jani-models/ij3.jani new file mode 100644 index 000000000..7759b0367 --- /dev/null +++ b/examples/exported-jani-models/ij3.jani @@ -0,0 +1,296 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij4.jani b/examples/exported-jani-models/ij4.jani new file mode 100644 index 000000000..ca2c4ba07 --- /dev/null +++ b/examples/exported-jani-models/ij4.jani @@ -0,0 +1,386 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij5.jani b/examples/exported-jani-models/ij5.jani new file mode 100644 index 000000000..15caeb097 --- /dev/null +++ b/examples/exported-jani-models/ij5.jani @@ -0,0 +1,478 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij6.jani b/examples/exported-jani-models/ij6.jani new file mode 100644 index 000000000..f4bd200d6 --- /dev/null +++ b/examples/exported-jani-models/ij6.jani @@ -0,0 +1,572 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij7.jani b/examples/exported-jani-models/ij7.jani new file mode 100644 index 000000000..1c2291afa --- /dev/null +++ b/examples/exported-jani-models/ij7.jani @@ -0,0 +1,668 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":"q7" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij8.jani b/examples/exported-jani-models/ij8.jani new file mode 100644 index 000000000..62383d6a1 --- /dev/null +++ b/examples/exported-jani-models/ij8.jani @@ -0,0 +1,766 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":"q7" + }, + "right":"q8" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/ij9.jani b/examples/exported-jani-models/ij9.jani new file mode 100644 index 000000000..2026f83d8 --- /dev/null +++ b/examples/exported-jani-models/ij9.jani @@ -0,0 +1,866 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"q1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"q9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"≥", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"q1", + "right":"q2" + }, + "right":"q3" + }, + "right":"q4" + }, + "right":"q5" + }, + "right":"q6" + }, + "right":"q7" + }, + "right":"q8" + }, + "right":"q9" + }, + "right":1 + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q1", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q2", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q3", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q3", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q4", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q4", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q5", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q5", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q6", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q6", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q7", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q7", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q8", + "value":0 + }, + { + "ref":"q9", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"q9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q8", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"q9", + "value":0 + }, + { + "ref":"q1", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/investor.jani b/examples/exported-jani-models/investor.jani new file mode 100644 index 000000000..294371fb1 --- /dev/null +++ b/examples/exported-jani-models/investor.jani @@ -0,0 +1,835 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"invest" + }, + { + "name":"month" + }, + { + "name":"done" + } + ], + "variables":[ + { + "name":"m", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"i", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"v", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":10 + } + }, + { + "name":"p", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":10 + } + }, + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":10 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m", + "right":0 + }, + "right":{ + "op":"=", + "left":"i", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"v", + "right":10 + } + }, + "right":{ + "op":"=", + "left":"p", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"c", + "right":10 + } + } + }, + "automata":[ + { + "name":"month", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"invest", + "guard":{ + "exp":{ + "op":"=", + "left":"m", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"month", + "guard":{ + "exp":{ + "op":"=", + "left":"m", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"m", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"investor", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"invest", + "guard":{ + "exp":{ + "op":"=", + "left":"i", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"invest", + "guard":{ + "exp":{ + "op":"=", + "left":"i", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"invest", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"invest", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"i", + "right":1 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"i", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"barred", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"invest", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"invest", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"value", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"month", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"p", + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"v", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"v", + "right":1 + }, + "right":"c" + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"p", + "right":10 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"v", + "value":{ + "op":"min", + "left":{ + "op":"max", + "left":{ + "op":"-", + "left":"v", + "right":1 + }, + "right":0 + }, + "right":"c" + } + } + ] + } + ] + } + ] + }, + { + "name":"probability", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"month", + "guard":{ + "exp":{ + "op":"<", + "left":"v", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":2, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"p", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"p", + "right":1 + }, + "right":10 + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"p", + "value":{ + "op":"max", + "left":{ + "op":"-", + "left":"p", + "right":1 + }, + "right":0 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"month", + "guard":{ + "exp":{ + "op":"=", + "left":"v", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"p", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"p", + "right":1 + }, + "right":10 + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"p", + "value":{ + "op":"max", + "left":{ + "op":"-", + "left":"p", + "right":1 + }, + "right":0 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"month", + "guard":{ + "exp":{ + "op":">", + "left":"v", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"p", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"p", + "right":1 + }, + "right":10 + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":2, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"p", + "value":{ + "op":"max", + "left":{ + "op":"-", + "left":"p", + "right":1 + }, + "right":0 + } + } + ] + } + ] + } + ] + }, + { + "name":"cap", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"month", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"max", + "left":{ + "op":"-", + "left":"c", + "right":1 + }, + "right":0 + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"month" + }, + { + "automaton":"investor" + }, + { + "automaton":"barred" + }, + { + "automaton":"value" + }, + { + "automaton":"probability" + }, + { + "automaton":"cap" + } + ], + "syncs":[ + { + "synchronise":[ + "month", + null, + null, + "month", + "month", + "month" + ], + "result":"month" + }, + { + "synchronise":[ + "invest", + "invest", + "invest", + null, + null, + null + ], + "result":"invest" + }, + { + "synchronise":[ + "done", + "done", + null, + null, + null, + null + ], + "result":"done" + } + ] + } +} diff --git a/examples/exported-jani-models/kaminsky.jani b/examples/exported-jani-models/kaminsky.jani new file mode 100644 index 000000000..d117e53d0 --- /dev/null +++ b/examples/exported-jani-models/kaminsky.jani @@ -0,0 +1,1584 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"client_request" + }, + { + "name":"client_" + }, + { + "name":"tau__" + }, + { + "name":"client_root_server_request" + }, + { + "name":"receive_answer_from_root" + }, + { + "name":"client_domain_server_request" + }, + { + "name":"receive_answer_from_domain" + }, + { + "name":"Correct_Guess" + }, + { + "name":"False_Guess" + }, + { + "name":"serve_other_request" + } + ], + "constants":[ + { + "name":"TIMES_TO_REQUEST_URL", + "type":"int" + }, + { + "name":"popularity", + "type":"real" + }, + { + "name":"port_id", + "type":"int" + }, + { + "name":"guess", + "type":"int" + }, + { + "name":"other_legitimate_requests_rate", + "type":"int" + } + ], + "variables":[ + { + "name":"trials", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"TIMES_TO_REQUEST_URL" + } + }, + { + "name":"answers_received", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"TIMES_TO_REQUEST_URL" + } + }, + { + "name":"ttl", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"query_domain_server", + "type":"bool" + }, + { + "name":"query_root_server", + "type":"bool" + }, + { + "name":"queue", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":"TIMES_TO_REQUEST_URL", + "right":1 + } + } + }, + { + "name":"root_server_queue", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":"TIMES_TO_REQUEST_URL", + "right":1 + } + } + }, + { + "name":"ds_queue", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":"TIMES_TO_REQUEST_URL", + "right":1 + } + } + }, + { + "name":"queries_answered", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":"TIMES_TO_REQUEST_URL", + "right":1 + } + } + }, + { + "name":"correct_guess", + "type":"bool" + }, + { + "name":"answer_from_domain_received", + "type":"bool" + }, + { + "name":"root_state", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"domain_state", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"denial_of_service", + "type":"bool" + }, + { + "name":"state_IS", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"trials", + "right":0 + }, + "right":{ + "op":"=", + "left":"answers_received", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"ttl", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"query_domain_server", + "right":false + } + }, + "right":{ + "op":"=", + "left":"query_root_server", + "right":false + } + }, + "right":{ + "op":"=", + "left":"queue", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"root_server_queue", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"ds_queue", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"queries_answered", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"correct_guess", + "right":false + } + }, + "right":{ + "op":"=", + "left":"answer_from_domain_received", + "right":false + } + }, + "right":{ + "op":"=", + "left":"root_state", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"domain_state", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"denial_of_service", + "right":false + } + }, + "right":{ + "op":"=", + "left":"state_IS", + "right":0 + } + } + }, + "automata":[ + { + "name":"intruder_machine", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"client_request", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"trials", + "right":"TIMES_TO_REQUEST_URL" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"trials", + "value":{ + "op":"+", + "left":"trials", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"client_", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"answers_received", + "right":"trials" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"answers_received", + "value":{ + "op":"+", + "left":"answers_received", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"answers_received", + "right":"TIMES_TO_REQUEST_URL" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client_server", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"client_request", + "rate":{ + "exp":{ + "op":"/", + "left":"popularity", + "right":10 + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"<", + "left":"queue", + "right":{ + "op":"+", + "left":"TIMES_TO_REQUEST_URL", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"queries_answered", + "right":{ + "op":"+", + "left":"TIMES_TO_REQUEST_URL", + "right":1 + } + } + }, + "right":{ + "op":"<", + "left":"root_server_queue", + "right":{ + "op":"+", + "left":"TIMES_TO_REQUEST_URL", + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":"popularity", + "right":10 + }, + "right":{ + "op":"/", + "left":"popularity", + "right":10 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"queue", + "value":{ + "op":"+", + "left":"queue", + "right":1 + } + }, + { + "ref":"ttl", + "value":1 + }, + { + "ref":"queries_answered", + "value":{ + "op":"+", + "left":"queries_answered", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"client_request", + "rate":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"popularity", + "right":10 + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"<", + "left":"queue", + "right":{ + "op":"+", + "left":"TIMES_TO_REQUEST_URL", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"queries_answered", + "right":{ + "op":"+", + "left":"TIMES_TO_REQUEST_URL", + "right":1 + } + } + }, + "right":{ + "op":"<", + "left":"root_server_queue", + "right":{ + "op":"+", + "left":"TIMES_TO_REQUEST_URL", + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"popularity", + "right":10 + } + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"popularity", + "right":10 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"queue", + "value":{ + "op":"+", + "left":"queue", + "right":1 + } + }, + { + "ref":"ttl", + "value":0 + }, + { + "ref":"root_server_queue", + "value":{ + "op":"+", + "left":"root_server_queue", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"client_root_server_request", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"queue", + "right":0 + }, + "right":{ + "op":">", + "left":"root_server_queue", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"query_root_server", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"receive_answer_from_root", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"root_server_queue", + "right":0 + }, + "right":{ + "op":"<", + "left":"ds_queue", + "right":{ + "op":"+", + "left":"TIMES_TO_REQUEST_URL", + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"root_server_queue", + "value":{ + "op":"-", + "left":"root_server_queue", + "right":1 + } + }, + { + "ref":"ds_queue", + "value":{ + "op":"+", + "left":"ds_queue", + "right":1 + } + }, + { + "ref":"query_root_server", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"client_domain_server_request", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":">", + "left":"ds_queue", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"query_domain_server", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"receive_answer_from_domain", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"ds_queue", + "right":0 + }, + "right":{ + "op":"<", + "left":"queries_answered", + "right":{ + "op":"+", + "left":"TIMES_TO_REQUEST_URL", + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"correct_guess", + "right":false + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"ds_queue", + "value":{ + "op":"-", + "left":"ds_queue", + "right":1 + } + }, + { + "ref":"queries_answered", + "value":{ + "op":"+", + "left":"queries_answered", + "right":1 + } + }, + { + "ref":"query_domain_server", + "value":false + }, + { + "ref":"answer_from_domain_received", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"client_", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"queries_answered", + "right":0 + }, + "right":{ + "op":">", + "left":"queue", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"queue", + "value":{ + "op":"-", + "left":"queue", + "right":1 + } + }, + { + "ref":"queries_answered", + "value":{ + "op":"-", + "left":"queries_answered", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"Correct_Guess", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":65536, + "right":"port_id" + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"correct_guess", + "right":false + }, + "right":{ + "op":"=", + "left":"query_domain_server", + "right":true + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":65536, + "right":"port_id" + } + }, + "right":{ + "op":"/", + "left":1, + "right":{ + "op":"*", + "left":65536, + "right":"port_id" + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"correct_guess", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"False_Guess", + "rate":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":{ + "op":"*", + "left":65536, + "right":"port_id" + }, + "right":1 + }, + "right":{ + "op":"*", + "left":65536, + "right":"port_id" + } + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"correct_guess", + "right":false + }, + "right":{ + "op":"=", + "left":"query_domain_server", + "right":true + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"-", + "left":{ + "op":"*", + "left":65536, + "right":"port_id" + }, + "right":1 + }, + "right":{ + "op":"*", + "left":65536, + "right":"port_id" + } + }, + "right":{ + "op":"/", + "left":{ + "op":"-", + "left":{ + "op":"*", + "left":65536, + "right":"port_id" + }, + "right":1 + }, + "right":{ + "op":"*", + "left":65536, + "right":"port_id" + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"correct_guess", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":{ + "op":"=", + "left":"correct_guess", + "right":true + }, + "right":true + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"root_server", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"client_root_server_request", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"root_state", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"root_state", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"receive_answer_from_root", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"root_state", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"root_state", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"target_domain_server", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"client_domain_server_request", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"domain_state", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"domain_state", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"receive_answer_from_domain", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":"other_legitimate_requests_rate" + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"domain_state", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":"other_legitimate_requests_rate" + }, + "right":{ + "op":"/", + "left":1, + "right":"other_legitimate_requests_rate" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"domain_state", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve_other_request", + "rate":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":"other_legitimate_requests_rate", + "right":1 + }, + "right":"other_legitimate_requests_rate" + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"domain_state", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"-", + "left":"other_legitimate_requests_rate", + "right":1 + }, + "right":"other_legitimate_requests_rate" + }, + "right":{ + "op":"/", + "left":{ + "op":"-", + "left":"other_legitimate_requests_rate", + "right":1 + }, + "right":"other_legitimate_requests_rate" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"domain_state", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"intruder_server", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"client_domain_server_request", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"state_IS", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"state_IS", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"Correct_Guess", + "rate":{ + "exp":"guess" + }, + "guard":{ + "exp":{ + "op":"=", + "left":"state_IS", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"guess", + "right":"guess" + } + }, + "location":"location", + "assignments":[ + { + "ref":"state_IS", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"False_Guess", + "rate":{ + "exp":"guess" + }, + "guard":{ + "exp":{ + "op":"=", + "left":"state_IS", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"guess", + "right":"guess" + } + }, + "location":"location", + "assignments":[ + { + "ref":"state_IS", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"receive_answer_from_domain", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"state_IS", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"state_IS", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"intruder_machine" + }, + { + "automaton":"client_server" + }, + { + "automaton":"root_server" + }, + { + "automaton":"target_domain_server" + }, + { + "automaton":"intruder_server" + } + ], + "syncs":[ + { + "synchronise":[ + null, + "client_domain_server_request", + null, + "client_domain_server_request", + "client_domain_server_request" + ], + "result":"client_domain_server_request" + }, + { + "synchronise":[ + null, + "receive_answer_from_domain", + null, + "receive_answer_from_domain", + "receive_answer_from_domain" + ], + "result":"receive_answer_from_domain" + }, + { + "synchronise":[ + null, + "Correct_Guess", + null, + null, + "Correct_Guess" + ], + "result":"Correct_Guess" + }, + { + "synchronise":[ + null, + "False_Guess", + null, + null, + "False_Guess" + ], + "result":"False_Guess" + }, + { + "synchronise":[ + null, + "client_root_server_request", + "client_root_server_request", + null, + null + ], + "result":"client_root_server_request" + }, + { + "synchronise":[ + null, + "receive_answer_from_root", + "receive_answer_from_root", + null, + null + ], + "result":"receive_answer_from_root" + }, + { + "synchronise":[ + "client_request", + "client_request", + null, + null, + null + ], + "result":"client_request" + }, + { + "synchronise":[ + "client_", + "client_", + null, + null, + null + ], + "result":"client_" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "serve_other_request", + null + ], + "result":"serve_other_request" + } + ] + } +} diff --git a/examples/exported-jani-models/kanban.jani b/examples/exported-jani-models/kanban.jani new file mode 100644 index 000000000..aa91c8e32 --- /dev/null +++ b/examples/exported-jani-models/kanban.jani @@ -0,0 +1,1580 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"in" + }, + { + "name":"tau__" + }, + { + "name":"s1" + }, + { + "name":"s2" + } + ], + "constants":[ + { + "name":"t", + "type":"int" + } + ], + "variables":[ + { + "name":"w1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + }, + { + "name":"y1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + }, + { + "name":"z1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + }, + { + "name":"w2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + }, + { + "name":"y2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + }, + { + "name":"z2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + }, + { + "name":"w3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + }, + { + "name":"x3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + }, + { + "name":"y3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + }, + { + "name":"z3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + }, + { + "name":"w4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + }, + { + "name":"x4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + }, + { + "name":"y4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + }, + { + "name":"z4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"t" + } + } + ], + "observables":[ + { + "name":"\"tokens_cell1\"" + }, + { + "name":"\"tokens_cell2\"" + }, + { + "name":"\"tokens_cell3\"" + }, + { + "name":"\"tokens_cell4\"" + }, + { + "name":"\"throughput\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":0 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"z1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"w2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"z2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"w3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"z3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"w4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"z4", + "right":0 + } + } + }, + "automata":[ + { + "name":"k1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"tokens_cell1\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":"x1", + "right":"y1" + }, + "right":"z1" + } + }, + { + "ref":"\"tokens_cell2\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":"x2", + "right":"y2" + }, + "right":"z2" + } + }, + { + "ref":"\"tokens_cell3\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":"x3", + "right":"y3" + }, + "right":"z3" + } + }, + { + "ref":"\"tokens_cell4\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":"x4", + "right":"y4" + }, + "right":"z4" + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"in", + "rate":{ + "exp":1.0000000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"<", + "left":"w1", + "right":"t" + }, + "right":{ + "op":"<", + "left":"x1", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1.0000000, + "right":1.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":{ + "op":"+", + "left":"w1", + "right":1 + } + }, + { + "ref":"x1", + "value":{ + "op":"+", + "left":"x1", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"throughput\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.3600000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"x1", + "right":0 + }, + "right":{ + "op":"<", + "left":"y1", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.3600000, + "right":0.3600000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"-", + "left":"x1", + "right":1 + } + }, + { + "ref":"y1", + "value":{ + "op":"+", + "left":"y1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.8400000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"x1", + "right":0 + }, + "right":{ + "op":"<", + "left":"z1", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.8400000, + "right":0.8400000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"-", + "left":"x1", + "right":1 + } + }, + { + "ref":"z1", + "value":{ + "op":"+", + "left":"z1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.3000000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"y1", + "right":0 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.3000000, + "right":0.3000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"-", + "left":"y1", + "right":1 + } + }, + { + "ref":"x1", + "value":{ + "op":"+", + "left":"x1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "rate":{ + "exp":0.4000000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"z1", + "right":0 + }, + "right":{ + "op":">", + "left":"w1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.4000000, + "right":0.4000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"z1", + "value":{ + "op":"-", + "left":"z1", + "right":1 + } + }, + { + "ref":"w1", + "value":{ + "op":"-", + "left":"w1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"k2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"<", + "left":"w2", + "right":"t" + }, + "right":{ + "op":"<", + "left":"x2", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w2", + "value":{ + "op":"+", + "left":"w2", + "right":1 + } + }, + { + "ref":"x2", + "value":{ + "op":"+", + "left":"x2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.4200000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"x2", + "right":0 + }, + "right":{ + "op":"<", + "left":"y2", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.4200000, + "right":0.4200000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"-", + "left":"x2", + "right":1 + } + }, + { + "ref":"y2", + "value":{ + "op":"+", + "left":"y2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.9800000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"x2", + "right":0 + }, + "right":{ + "op":"<", + "left":"z2", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.9800000, + "right":0.9800000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"-", + "left":"x2", + "right":1 + } + }, + { + "ref":"z2", + "value":{ + "op":"+", + "left":"z2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.3000000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"y2", + "right":0 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.3000000, + "right":0.3000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"y2", + "value":{ + "op":"-", + "left":"y2", + "right":1 + } + }, + { + "ref":"x2", + "value":{ + "op":"+", + "left":"x2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"z2", + "right":0 + }, + "right":{ + "op":">", + "left":"w2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"z2", + "value":{ + "op":"-", + "left":"z2", + "right":1 + } + }, + { + "ref":"w2", + "value":{ + "op":"-", + "left":"w2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"k3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"<", + "left":"w3", + "right":"t" + }, + "right":{ + "op":"<", + "left":"x3", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w3", + "value":{ + "op":"+", + "left":"w3", + "right":1 + } + }, + { + "ref":"x3", + "value":{ + "op":"+", + "left":"x3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.3900000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"x3", + "right":0 + }, + "right":{ + "op":"<", + "left":"y3", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.3900000, + "right":0.3900000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":{ + "op":"-", + "left":"x3", + "right":1 + } + }, + { + "ref":"y3", + "value":{ + "op":"+", + "left":"y3", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.9100000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"x3", + "right":0 + }, + "right":{ + "op":"<", + "left":"z3", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.9100000, + "right":0.9100000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x3", + "value":{ + "op":"-", + "left":"x3", + "right":1 + } + }, + { + "ref":"z3", + "value":{ + "op":"+", + "left":"z3", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.3000000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"y3", + "right":0 + }, + "right":{ + "op":"<", + "left":"x3", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.3000000, + "right":0.3000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"y3", + "value":{ + "op":"-", + "left":"y3", + "right":1 + } + }, + { + "ref":"x3", + "value":{ + "op":"+", + "left":"x3", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"z3", + "right":0 + }, + "right":{ + "op":">", + "left":"w3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"z3", + "value":{ + "op":"-", + "left":"z3", + "right":1 + } + }, + { + "ref":"w3", + "value":{ + "op":"-", + "left":"w3", + "right":1 + } + } + ] + } + ] + } + ] + }, + { + "name":"k4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s2", + "rate":{ + "exp":0.5000000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"<", + "left":"w4", + "right":"t" + }, + "right":{ + "op":"<", + "left":"x4", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.5000000, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w4", + "value":{ + "op":"+", + "left":"w4", + "right":1 + } + }, + { + "ref":"x4", + "value":{ + "op":"+", + "left":"x4", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.3300000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"x4", + "right":0 + }, + "right":{ + "op":"<", + "left":"y4", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.3300000, + "right":0.3300000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":{ + "op":"-", + "left":"x4", + "right":1 + } + }, + { + "ref":"y4", + "value":{ + "op":"+", + "left":"y4", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.7700000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"x4", + "right":0 + }, + "right":{ + "op":"<", + "left":"z4", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.7700000, + "right":0.7700000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x4", + "value":{ + "op":"-", + "left":"x4", + "right":1 + } + }, + { + "ref":"z4", + "value":{ + "op":"+", + "left":"z4", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.3000000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"y4", + "right":0 + }, + "right":{ + "op":"<", + "left":"x4", + "right":"t" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.3000000, + "right":0.3000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"y4", + "value":{ + "op":"-", + "left":"y4", + "right":1 + } + }, + { + "ref":"x4", + "value":{ + "op":"+", + "left":"x4", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0.9000000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"z4", + "right":0 + }, + "right":{ + "op":">", + "left":"w4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.9000000, + "right":0.9000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"z4", + "value":{ + "op":"-", + "left":"z4", + "right":1 + } + }, + { + "ref":"w4", + "value":{ + "op":"-", + "left":"w4", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"k1" + }, + { + "automaton":"k2" + }, + { + "automaton":"k3" + }, + { + "automaton":"k4" + } + ], + "syncs":[ + { + "synchronise":[ + null, + "s2", + "s2", + "s2" + ], + "result":"s2" + }, + { + "synchronise":[ + "s1", + "s1", + "s1", + null + ], + "result":"s1" + }, + { + "synchronise":[ + "in", + null, + null, + null + ], + "result":"in" + }, + { + "synchronise":[ + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/knacl.jani b/examples/exported-jani-models/knacl.jani new file mode 100644 index 000000000..91eeb7218 --- /dev/null +++ b/examples/exported-jani-models/knacl.jani @@ -0,0 +1,683 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"e1" + }, + { + "name":"e2" + }, + { + "name":"e3" + }, + { + "name":"e4" + } + ], + "constants":[ + { + "name":"N1", + "type":"int" + }, + { + "name":"N2", + "type":"int" + }, + { + "name":"N3", + "type":"int" + } + ], + "variables":[ + { + "name":"na", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N1" + } + }, + { + "name":"cl", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N2" + } + }, + { + "name":"k", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N3" + } + }, + { + "name":"dummy", + "type":"bool" + } + ], + "observables":[ + { + "name":"\"percentage_na\"" + }, + { + "name":"\"percentage_k\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"na", + "right":"N1" + }, + "right":{ + "op":"=", + "left":"cl", + "right":"N2" + } + }, + "right":{ + "op":"=", + "left":"k", + "right":"N3" + } + }, + "right":{ + "op":"=", + "left":"dummy", + "right":false + } + } + }, + "automata":[ + { + "name":"na", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"percentage_na\"", + "value":{ + "op":"/", + "left":{ + "op":"*", + "left":100, + "right":"na" + }, + "right":"N1" + } + }, + { + "ref":"\"percentage_k\"", + "value":{ + "op":"/", + "left":{ + "op":"*", + "left":100, + "right":"k" + }, + "right":"N3" + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e1", + "rate":{ + "exp":"na" + }, + "guard":{ + "exp":{ + "op":">", + "left":"na", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"na", + "right":"na" + } + }, + "location":"location", + "assignments":[ + { + "ref":"na", + "value":{ + "op":"-", + "left":"na", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e2", + "rate":{ + "exp":{ + "op":"-", + "left":"N1", + "right":"na" + } + }, + "guard":{ + "exp":{ + "op":"<", + "left":"na", + "right":"N1" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":"N1", + "right":"na" + }, + "right":{ + "op":"-", + "left":"N1", + "right":"na" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"na", + "value":{ + "op":"+", + "left":"na", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"cl", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e1", + "rate":{ + "exp":"cl" + }, + "guard":{ + "exp":{ + "op":">", + "left":"cl", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cl", + "right":"cl" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cl", + "value":{ + "op":"-", + "left":"cl", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e3", + "rate":{ + "exp":"cl" + }, + "guard":{ + "exp":{ + "op":">", + "left":"cl", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cl", + "right":"cl" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cl", + "value":{ + "op":"-", + "left":"cl", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e2", + "rate":{ + "exp":{ + "op":"-", + "left":"N2", + "right":"cl" + } + }, + "guard":{ + "exp":{ + "op":"<", + "left":"cl", + "right":"N2" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":"N2", + "right":"cl" + }, + "right":{ + "op":"-", + "left":"N2", + "right":"cl" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"cl", + "value":{ + "op":"+", + "left":"cl", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e4", + "rate":{ + "exp":{ + "op":"-", + "left":"N2", + "right":"cl" + } + }, + "guard":{ + "exp":{ + "op":"<", + "left":"cl", + "right":"N2" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":"N2", + "right":"cl" + }, + "right":{ + "op":"-", + "left":"N2", + "right":"cl" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"cl", + "value":{ + "op":"+", + "left":"cl", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"k", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e3", + "rate":{ + "exp":"k" + }, + "guard":{ + "exp":{ + "op":">", + "left":"k", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"k", + "right":"k" + } + }, + "location":"location", + "assignments":[ + { + "ref":"k", + "value":{ + "op":"-", + "left":"k", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e4", + "rate":{ + "exp":{ + "op":"-", + "left":"N3", + "right":"k" + } + }, + "guard":{ + "exp":{ + "op":"<", + "left":"k", + "right":"N3" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":"N3", + "right":"k" + }, + "right":{ + "op":"-", + "left":"N3", + "right":"k" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"k", + "value":{ + "op":"+", + "left":"k", + "right":1 + } + } + ] + } + ] + } + ] + }, + { + "name":"base_rates", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e1", + "rate":{ + "exp":100 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":100, + "right":100 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e2", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e3", + "rate":{ + "exp":30 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":30, + "right":30 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e4", + "rate":{ + "exp":20 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":20, + "right":20 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"na" + }, + { + "automaton":"cl" + }, + { + "automaton":"k" + }, + { + "automaton":"base_rates" + } + ], + "syncs":[ + { + "synchronise":[ + null, + "e3", + "e3", + "e3" + ], + "result":"e3" + }, + { + "synchronise":[ + null, + "e4", + "e4", + "e4" + ], + "result":"e4" + }, + { + "synchronise":[ + "e1", + "e1", + null, + "e1" + ], + "result":"e1" + }, + { + "synchronise":[ + "e2", + "e2", + null, + "e2" + ], + "result":"e2" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_async_10.jani b/examples/exported-jani-models/leader_async_10.jani new file mode 100644 index 000000000..19bdfe372 --- /dev/null +++ b/examples/exported-jani-models/leader_async_10.jani @@ -0,0 +1,9214 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"p12" + }, + { + "name":"p101" + }, + { + "name":"c12" + }, + { + "name":"c101" + }, + { + "name":"done" + }, + { + "name":"p23" + }, + { + "name":"c23" + }, + { + "name":"p34" + }, + { + "name":"c34" + }, + { + "name":"p45" + }, + { + "name":"c45" + }, + { + "name":"p56" + }, + { + "name":"c56" + }, + { + "name":"p67" + }, + { + "name":"c67" + }, + { + "name":"p78" + }, + { + "name":"c78" + }, + { + "name":"p89" + }, + { + "name":"c89" + }, + { + "name":"p910" + }, + { + "name":"c910" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":10, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":10, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":10, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":10, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":10, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":10, + "right":1 + } + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":10, + "right":1 + } + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":10, + "right":1 + } + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":10, + "right":1 + } + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":10, + "right":1 + } + } + }, + { + "name":"s10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent10", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p101", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p10", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p101", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":2 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c101", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c101", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c10", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c101", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c10", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":">", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p101", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":"p10" + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c101", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c10", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c10", + "right":1 + } + }, + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":0 + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":">", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":"p1" + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":">", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":"p2" + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":0 + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":4 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":">", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":"p3" + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + }, + { + "ref":"receive4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":0 + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive5", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":4 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c4", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":">", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":"p4" + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c4", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c5", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + }, + { + "ref":"receive5", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":"s5" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":"s5" + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":0 + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"receive6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"receive6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":1 + }, + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive6", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent6", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive6", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c5", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":4 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c5", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":">", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":1 + }, + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":"p5" + }, + { + "ref":"receive6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c5", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c6", + "value":{ + "op":"+", + "left":"c5", + "right":1 + } + }, + { + "ref":"receive6", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":"s6" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":"s6" + } + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":0 + }, + "right":{ + "op":"=", + "left":"p6", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":2 + }, + { + "ref":"receive7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":3 + }, + { + "ref":"receive7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":1 + }, + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive7", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent7", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive7", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c6", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":4 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c6", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":">", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":1 + }, + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":3 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":"p6" + }, + { + "ref":"receive7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c6", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c7", + "value":{ + "op":"+", + "left":"c6", + "right":1 + } + }, + { + "ref":"receive7", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":"s7" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":"s7" + } + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + }, + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + }, + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":0 + }, + "right":{ + "op":"=", + "left":"p7", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":2 + }, + { + "ref":"receive8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":3 + }, + { + "ref":"receive8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent8", + "value":1 + }, + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent8", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive8", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent8", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive8", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + }, + { + "ref":"p8", + "value":0 + }, + { + "ref":"c8", + "value":0 + }, + { + "ref":"sent8", + "value":0 + }, + { + "ref":"receive8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent8", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive8", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent8", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c7", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":4 + }, + { + "ref":"p8", + "value":0 + }, + { + "ref":"c8", + "value":0 + }, + { + "ref":"sent8", + "value":0 + }, + { + "ref":"receive8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent8", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c7", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + }, + { + "ref":"p8", + "value":0 + }, + { + "ref":"c8", + "value":0 + }, + { + "ref":"sent8", + "value":0 + }, + { + "ref":"receive8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":3 + }, + "right":{ + "op":">", + "left":"receive8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent8", + "value":1 + }, + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent8", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":3 + }, + { + "ref":"p8", + "value":0 + }, + { + "ref":"c8", + "value":0 + }, + { + "ref":"sent8", + "value":0 + }, + { + "ref":"receive8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":"p7" + }, + { + "ref":"receive8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c7", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c8", + "value":{ + "op":"+", + "left":"c7", + "right":1 + } + }, + { + "ref":"receive8", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":"s8" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":"s8" + } + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + }, + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + }, + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p910", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":0 + }, + "right":{ + "op":"=", + "left":"p8", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":2 + }, + { + "ref":"receive9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":3 + }, + { + "ref":"receive9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p910", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent9", + "value":1 + }, + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c910", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent9", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive9", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent9", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c910", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent9", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive9", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + }, + { + "ref":"p9", + "value":0 + }, + { + "ref":"c9", + "value":0 + }, + { + "ref":"sent9", + "value":0 + }, + { + "ref":"receive9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent9", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive9", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent9", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c8", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":4 + }, + { + "ref":"p9", + "value":0 + }, + { + "ref":"c9", + "value":0 + }, + { + "ref":"sent9", + "value":0 + }, + { + "ref":"receive9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent9", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c8", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + }, + { + "ref":"p9", + "value":0 + }, + { + "ref":"c9", + "value":0 + }, + { + "ref":"sent9", + "value":0 + }, + { + "ref":"receive9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p910", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":3 + }, + "right":{ + "op":">", + "left":"receive9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent9", + "value":1 + }, + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c910", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent9", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":3 + }, + { + "ref":"p9", + "value":0 + }, + { + "ref":"c9", + "value":0 + }, + { + "ref":"sent9", + "value":0 + }, + { + "ref":"receive9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":"p8" + }, + { + "ref":"receive9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c8", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c9", + "value":{ + "op":"+", + "left":"c8", + "right":1 + } + }, + { + "ref":"receive9", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":"s9" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":"s9" + } + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + }, + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + }, + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p101", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p910", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive10", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":0 + }, + "right":{ + "op":"=", + "left":"p9", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":2 + }, + { + "ref":"receive10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p910", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":3 + }, + { + "ref":"receive10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p101", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent10", + "value":1 + }, + { + "ref":"p10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c101", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent10", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive10", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent10", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c101", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent10", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive10", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + }, + { + "ref":"p10", + "value":0 + }, + { + "ref":"c10", + "value":0 + }, + { + "ref":"sent10", + "value":0 + }, + { + "ref":"receive10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c910", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive10", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent10", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive10", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c910", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive10", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent10", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c9", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":4 + }, + { + "ref":"p10", + "value":0 + }, + { + "ref":"c10", + "value":0 + }, + { + "ref":"sent10", + "value":0 + }, + { + "ref":"receive10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c910", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive10", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent10", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c9", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + }, + { + "ref":"p10", + "value":0 + }, + { + "ref":"c10", + "value":0 + }, + { + "ref":"sent10", + "value":0 + }, + { + "ref":"receive10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p101", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":3 + }, + "right":{ + "op":">", + "left":"receive10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent10", + "value":1 + }, + { + "ref":"p10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c101", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive10", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent10", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":3 + }, + { + "ref":"p10", + "value":0 + }, + { + "ref":"c10", + "value":0 + }, + { + "ref":"sent10", + "value":0 + }, + { + "ref":"receive10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p910", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":"p9" + }, + { + "ref":"receive10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c910", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s10", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive10", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c9", + "right":{ + "op":"-", + "left":10, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c10", + "value":{ + "op":"+", + "left":"c9", + "right":1 + } + }, + { + "ref":"receive10", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":"s10" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":"s10" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "p101", + null, + null, + null, + null, + null, + null, + null, + null, + "p101" + ], + "result":"p101" + }, + { + "synchronise":[ + "c101", + null, + null, + null, + null, + null, + null, + null, + null, + "c101" + ], + "result":"c101" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "p910", + "p910" + ], + "result":"p910" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "c910", + "c910" + ], + "result":"c910" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "p89", + "p89", + null + ], + "result":"p89" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "c89", + "c89", + null + ], + "result":"c89" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "p78", + "p78", + null, + null + ], + "result":"p78" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "c78", + "c78", + null, + null + ], + "result":"c78" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "p67", + "p67", + null, + null, + null + ], + "result":"p67" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "c67", + "c67", + null, + null, + null + ], + "result":"c67" + }, + { + "synchronise":[ + null, + null, + null, + null, + "p56", + "p56", + null, + null, + null, + null + ], + "result":"p56" + }, + { + "synchronise":[ + null, + null, + null, + null, + "c56", + "c56", + null, + null, + null, + null + ], + "result":"c56" + }, + { + "synchronise":[ + null, + null, + null, + "p45", + "p45", + null, + null, + null, + null, + null + ], + "result":"p45" + }, + { + "synchronise":[ + null, + null, + null, + "c45", + "c45", + null, + null, + null, + null, + null + ], + "result":"c45" + }, + { + "synchronise":[ + null, + null, + "p34", + "p34", + null, + null, + null, + null, + null, + null + ], + "result":"p34" + }, + { + "synchronise":[ + null, + null, + "c34", + "c34", + null, + null, + null, + null, + null, + null + ], + "result":"c34" + }, + { + "synchronise":[ + null, + "p23", + "p23", + null, + null, + null, + null, + null, + null, + null + ], + "result":"p23" + }, + { + "synchronise":[ + null, + "c23", + "c23", + null, + null, + null, + null, + null, + null, + null + ], + "result":"c23" + }, + { + "synchronise":[ + "p12", + "p12", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"p12" + }, + { + "synchronise":[ + "c12", + "c12", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"c12" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_async_3.jani b/examples/exported-jani-models/leader_async_3.jani new file mode 100644 index 000000000..60026a132 --- /dev/null +++ b/examples/exported-jani-models/leader_async_3.jani @@ -0,0 +1,2739 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"p12" + }, + { + "name":"p31" + }, + { + "name":"c12" + }, + { + "name":"c31" + }, + { + "name":"done" + }, + { + "name":"p23" + }, + { + "name":"c23" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p31", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p31", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":2 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c31", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c31", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c31", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":">", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p31", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":"p3" + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c31", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + }, + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":0 + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":">", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":"p1" + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p31", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p31", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c31", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c31", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p31", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":">", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c31", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":"p2" + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "p31", + null, + "p31" + ], + "result":"p31" + }, + { + "synchronise":[ + "c31", + null, + "c31" + ], + "result":"c31" + }, + { + "synchronise":[ + null, + "p23", + "p23" + ], + "result":"p23" + }, + { + "synchronise":[ + null, + "c23", + "c23" + ], + "result":"c23" + }, + { + "synchronise":[ + "p12", + "p12", + null + ], + "result":"p12" + }, + { + "synchronise":[ + "c12", + "c12", + null + ], + "result":"c12" + }, + { + "synchronise":[ + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_async_4.jani b/examples/exported-jani-models/leader_async_4.jani new file mode 100644 index 000000000..e8a6ea6e0 --- /dev/null +++ b/examples/exported-jani-models/leader_async_4.jani @@ -0,0 +1,3646 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"p12" + }, + { + "name":"p41" + }, + { + "name":"c12" + }, + { + "name":"c41" + }, + { + "name":"done" + }, + { + "name":"p23" + }, + { + "name":"c23" + }, + { + "name":"p34" + }, + { + "name":"c34" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p41", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p41", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":2 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c41", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c41", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c41", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c4", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":">", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p41", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":"p4" + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c41", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c4", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + }, + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":0 + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":">", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":"p1" + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":">", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":"p2" + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p41", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":0 + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p41", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c41", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c41", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":4 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p41", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":">", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c41", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":"p3" + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + }, + { + "ref":"receive4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "p41", + null, + null, + "p41" + ], + "result":"p41" + }, + { + "synchronise":[ + "c41", + null, + null, + "c41" + ], + "result":"c41" + }, + { + "synchronise":[ + null, + null, + "p34", + "p34" + ], + "result":"p34" + }, + { + "synchronise":[ + null, + null, + "c34", + "c34" + ], + "result":"c34" + }, + { + "synchronise":[ + null, + "p23", + "p23", + null + ], + "result":"p23" + }, + { + "synchronise":[ + null, + "c23", + "c23", + null + ], + "result":"c23" + }, + { + "synchronise":[ + "p12", + "p12", + null, + null + ], + "result":"p12" + }, + { + "synchronise":[ + "c12", + "c12", + null, + null + ], + "result":"c12" + }, + { + "synchronise":[ + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_async_5.jani b/examples/exported-jani-models/leader_async_5.jani new file mode 100644 index 000000000..123bafc1d --- /dev/null +++ b/examples/exported-jani-models/leader_async_5.jani @@ -0,0 +1,4559 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"p12" + }, + { + "name":"p51" + }, + { + "name":"c12" + }, + { + "name":"c51" + }, + { + "name":"done" + }, + { + "name":"p23" + }, + { + "name":"c23" + }, + { + "name":"p34" + }, + { + "name":"c34" + }, + { + "name":"p45" + }, + { + "name":"c45" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p51", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p51", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":2 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c51", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c51", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c5", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c51", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c5", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":">", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p51", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":"p5" + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c51", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c5", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c5", + "right":1 + } + }, + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":0 + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":">", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":"p1" + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":">", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":"p2" + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":0 + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":4 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":">", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":"p3" + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + }, + { + "ref":"receive4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p51", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":0 + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p51", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c51", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c51", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive5", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":4 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c4", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p51", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":">", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c51", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":"p4" + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c4", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c5", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + }, + { + "ref":"receive5", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":"s5" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":"s5" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "p51", + null, + null, + null, + "p51" + ], + "result":"p51" + }, + { + "synchronise":[ + "c51", + null, + null, + null, + "c51" + ], + "result":"c51" + }, + { + "synchronise":[ + null, + null, + null, + "p45", + "p45" + ], + "result":"p45" + }, + { + "synchronise":[ + null, + null, + null, + "c45", + "c45" + ], + "result":"c45" + }, + { + "synchronise":[ + null, + null, + "p34", + "p34", + null + ], + "result":"p34" + }, + { + "synchronise":[ + null, + null, + "c34", + "c34", + null + ], + "result":"c34" + }, + { + "synchronise":[ + null, + "p23", + "p23", + null, + null + ], + "result":"p23" + }, + { + "synchronise":[ + null, + "c23", + "c23", + null, + null + ], + "result":"c23" + }, + { + "synchronise":[ + "p12", + "p12", + null, + null, + null + ], + "result":"p12" + }, + { + "synchronise":[ + "c12", + "c12", + null, + null, + null + ], + "result":"c12" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_async_6.jani b/examples/exported-jani-models/leader_async_6.jani new file mode 100644 index 000000000..db0d77612 --- /dev/null +++ b/examples/exported-jani-models/leader_async_6.jani @@ -0,0 +1,5478 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"p12" + }, + { + "name":"p61" + }, + { + "name":"c12" + }, + { + "name":"c61" + }, + { + "name":"done" + }, + { + "name":"p23" + }, + { + "name":"c23" + }, + { + "name":"p34" + }, + { + "name":"c34" + }, + { + "name":"p45" + }, + { + "name":"c45" + }, + { + "name":"p56" + }, + { + "name":"c56" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p61", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p6", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p61", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":2 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c61", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c61", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c6", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c61", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c6", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":">", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p61", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":"p6" + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c61", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c6", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c6", + "right":1 + } + }, + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":0 + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":">", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":"p1" + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":">", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":"p2" + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":0 + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":4 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":">", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":"p3" + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + }, + { + "ref":"receive4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":0 + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive5", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":4 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c4", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":">", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":"p4" + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c4", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c5", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + }, + { + "ref":"receive5", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":"s5" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":"s5" + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p61", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":0 + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"receive6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"receive6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p61", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":1 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c61", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c61", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive6", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent6", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive6", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c5", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":4 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c5", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p61", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":">", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":1 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c61", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":"p5" + }, + { + "ref":"receive6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c5", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c6", + "value":{ + "op":"+", + "left":"c5", + "right":1 + } + }, + { + "ref":"receive6", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":"s6" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":"s6" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "p61", + null, + null, + null, + null, + "p61" + ], + "result":"p61" + }, + { + "synchronise":[ + "c61", + null, + null, + null, + null, + "c61" + ], + "result":"c61" + }, + { + "synchronise":[ + null, + null, + null, + null, + "p56", + "p56" + ], + "result":"p56" + }, + { + "synchronise":[ + null, + null, + null, + null, + "c56", + "c56" + ], + "result":"c56" + }, + { + "synchronise":[ + null, + null, + null, + "p45", + "p45", + null + ], + "result":"p45" + }, + { + "synchronise":[ + null, + null, + null, + "c45", + "c45", + null + ], + "result":"c45" + }, + { + "synchronise":[ + null, + null, + "p34", + "p34", + null, + null + ], + "result":"p34" + }, + { + "synchronise":[ + null, + null, + "c34", + "c34", + null, + null + ], + "result":"c34" + }, + { + "synchronise":[ + null, + "p23", + "p23", + null, + null, + null + ], + "result":"p23" + }, + { + "synchronise":[ + null, + "c23", + "c23", + null, + null, + null + ], + "result":"c23" + }, + { + "synchronise":[ + "p12", + "p12", + null, + null, + null, + null + ], + "result":"p12" + }, + { + "synchronise":[ + "c12", + "c12", + null, + null, + null, + null + ], + "result":"c12" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_async_7.jani b/examples/exported-jani-models/leader_async_7.jani new file mode 100644 index 000000000..8fc871ddc --- /dev/null +++ b/examples/exported-jani-models/leader_async_7.jani @@ -0,0 +1,6403 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"p12" + }, + { + "name":"p71" + }, + { + "name":"c12" + }, + { + "name":"c71" + }, + { + "name":"done" + }, + { + "name":"p23" + }, + { + "name":"c23" + }, + { + "name":"p34" + }, + { + "name":"c34" + }, + { + "name":"p45" + }, + { + "name":"c45" + }, + { + "name":"p56" + }, + { + "name":"c56" + }, + { + "name":"p67" + }, + { + "name":"c67" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":7, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":7, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":7, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":7, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":7, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":7, + "right":1 + } + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":7, + "right":1 + } + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p71", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p7", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p71", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":2 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c71", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c71", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c7", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c71", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c7", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":">", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p71", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":"p7" + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c71", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c7", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c7", + "right":1 + } + }, + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":0 + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":">", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":"p1" + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":">", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":"p2" + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":0 + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":4 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":">", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":"p3" + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + }, + { + "ref":"receive4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":0 + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive5", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":4 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c4", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":">", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":"p4" + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c4", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c5", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + }, + { + "ref":"receive5", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":"s5" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":"s5" + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":0 + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"receive6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"receive6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":1 + }, + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive6", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent6", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive6", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c5", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":4 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c5", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":">", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":1 + }, + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":"p5" + }, + { + "ref":"receive6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c5", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c6", + "value":{ + "op":"+", + "left":"c5", + "right":1 + } + }, + { + "ref":"receive6", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":"s6" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":"s6" + } + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p71", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":0 + }, + "right":{ + "op":"=", + "left":"p6", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":2 + }, + { + "ref":"receive7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":3 + }, + { + "ref":"receive7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p71", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":1 + }, + { + "ref":"p7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c71", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c71", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive7", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent7", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive7", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c6", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":4 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c6", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p71", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":">", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":1 + }, + { + "ref":"p7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c71", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":3 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":"p6" + }, + { + "ref":"receive7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c6", + "right":{ + "op":"-", + "left":7, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c7", + "value":{ + "op":"+", + "left":"c6", + "right":1 + } + }, + { + "ref":"receive7", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":"s7" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":"s7" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "p71", + null, + null, + null, + null, + null, + "p71" + ], + "result":"p71" + }, + { + "synchronise":[ + "c71", + null, + null, + null, + null, + null, + "c71" + ], + "result":"c71" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "p67", + "p67" + ], + "result":"p67" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "c67", + "c67" + ], + "result":"c67" + }, + { + "synchronise":[ + null, + null, + null, + null, + "p56", + "p56", + null + ], + "result":"p56" + }, + { + "synchronise":[ + null, + null, + null, + null, + "c56", + "c56", + null + ], + "result":"c56" + }, + { + "synchronise":[ + null, + null, + null, + "p45", + "p45", + null, + null + ], + "result":"p45" + }, + { + "synchronise":[ + null, + null, + null, + "c45", + "c45", + null, + null + ], + "result":"c45" + }, + { + "synchronise":[ + null, + null, + "p34", + "p34", + null, + null, + null + ], + "result":"p34" + }, + { + "synchronise":[ + null, + null, + "c34", + "c34", + null, + null, + null + ], + "result":"c34" + }, + { + "synchronise":[ + null, + "p23", + "p23", + null, + null, + null, + null + ], + "result":"p23" + }, + { + "synchronise":[ + null, + "c23", + "c23", + null, + null, + null, + null + ], + "result":"c23" + }, + { + "synchronise":[ + "p12", + "p12", + null, + null, + null, + null, + null + ], + "result":"p12" + }, + { + "synchronise":[ + "c12", + "c12", + null, + null, + null, + null, + null + ], + "result":"c12" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_async_8.jani b/examples/exported-jani-models/leader_async_8.jani new file mode 100644 index 000000000..865f792e1 --- /dev/null +++ b/examples/exported-jani-models/leader_async_8.jani @@ -0,0 +1,7334 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"p12" + }, + { + "name":"p81" + }, + { + "name":"c12" + }, + { + "name":"c81" + }, + { + "name":"done" + }, + { + "name":"p23" + }, + { + "name":"c23" + }, + { + "name":"p34" + }, + { + "name":"c34" + }, + { + "name":"p45" + }, + { + "name":"c45" + }, + { + "name":"p56" + }, + { + "name":"c56" + }, + { + "name":"p67" + }, + { + "name":"c67" + }, + { + "name":"p78" + }, + { + "name":"c78" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent8", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p81", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p8", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p81", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":2 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c81", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c81", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c8", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c81", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c8", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":">", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p81", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":"p8" + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c81", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c8", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c8", + "right":1 + } + }, + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":0 + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":">", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":"p1" + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":">", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":"p2" + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":0 + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":4 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":">", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":"p3" + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + }, + { + "ref":"receive4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":0 + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive5", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":4 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c4", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":">", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":"p4" + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c4", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c5", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + }, + { + "ref":"receive5", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":"s5" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":"s5" + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":0 + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"receive6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"receive6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":1 + }, + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive6", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent6", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive6", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c5", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":4 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c5", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":">", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":1 + }, + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":"p5" + }, + { + "ref":"receive6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c5", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c6", + "value":{ + "op":"+", + "left":"c5", + "right":1 + } + }, + { + "ref":"receive6", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":"s6" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":"s6" + } + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":0 + }, + "right":{ + "op":"=", + "left":"p6", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":2 + }, + { + "ref":"receive7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":3 + }, + { + "ref":"receive7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":1 + }, + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive7", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent7", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive7", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c6", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":4 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c6", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":">", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":1 + }, + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":3 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":"p6" + }, + { + "ref":"receive7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c6", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c7", + "value":{ + "op":"+", + "left":"c6", + "right":1 + } + }, + { + "ref":"receive7", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":"s7" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":"s7" + } + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + }, + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + }, + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p81", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":0 + }, + "right":{ + "op":"=", + "left":"p7", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":2 + }, + { + "ref":"receive8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":3 + }, + { + "ref":"receive8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p81", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent8", + "value":1 + }, + { + "ref":"p8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c81", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent8", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive8", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent8", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c81", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent8", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive8", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + }, + { + "ref":"p8", + "value":0 + }, + { + "ref":"c8", + "value":0 + }, + { + "ref":"sent8", + "value":0 + }, + { + "ref":"receive8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent8", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive8", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent8", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c7", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":4 + }, + { + "ref":"p8", + "value":0 + }, + { + "ref":"c8", + "value":0 + }, + { + "ref":"sent8", + "value":0 + }, + { + "ref":"receive8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent8", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c7", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + }, + { + "ref":"p8", + "value":0 + }, + { + "ref":"c8", + "value":0 + }, + { + "ref":"sent8", + "value":0 + }, + { + "ref":"receive8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p81", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":3 + }, + "right":{ + "op":">", + "left":"receive8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent8", + "value":1 + }, + { + "ref":"p8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c81", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent8", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":3 + }, + { + "ref":"p8", + "value":0 + }, + { + "ref":"c8", + "value":0 + }, + { + "ref":"sent8", + "value":0 + }, + { + "ref":"receive8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":"p7" + }, + { + "ref":"receive8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c7", + "right":{ + "op":"-", + "left":8, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c8", + "value":{ + "op":"+", + "left":"c7", + "right":1 + } + }, + { + "ref":"receive8", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":"s8" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":"s8" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "p81", + null, + null, + null, + null, + null, + null, + "p81" + ], + "result":"p81" + }, + { + "synchronise":[ + "c81", + null, + null, + null, + null, + null, + null, + "c81" + ], + "result":"c81" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "p78", + "p78" + ], + "result":"p78" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "c78", + "c78" + ], + "result":"c78" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "p67", + "p67", + null + ], + "result":"p67" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "c67", + "c67", + null + ], + "result":"c67" + }, + { + "synchronise":[ + null, + null, + null, + null, + "p56", + "p56", + null, + null + ], + "result":"p56" + }, + { + "synchronise":[ + null, + null, + null, + null, + "c56", + "c56", + null, + null + ], + "result":"c56" + }, + { + "synchronise":[ + null, + null, + null, + "p45", + "p45", + null, + null, + null + ], + "result":"p45" + }, + { + "synchronise":[ + null, + null, + null, + "c45", + "c45", + null, + null, + null + ], + "result":"c45" + }, + { + "synchronise":[ + null, + null, + "p34", + "p34", + null, + null, + null, + null + ], + "result":"p34" + }, + { + "synchronise":[ + null, + null, + "c34", + "c34", + null, + null, + null, + null + ], + "result":"c34" + }, + { + "synchronise":[ + null, + "p23", + "p23", + null, + null, + null, + null, + null + ], + "result":"p23" + }, + { + "synchronise":[ + null, + "c23", + "c23", + null, + null, + null, + null, + null + ], + "result":"c23" + }, + { + "synchronise":[ + "p12", + "p12", + null, + null, + null, + null, + null, + null + ], + "result":"p12" + }, + { + "synchronise":[ + "c12", + "c12", + null, + null, + null, + null, + null, + null + ], + "result":"c12" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_async_9.jani b/examples/exported-jani-models/leader_async_9.jani new file mode 100644 index 000000000..c79964719 --- /dev/null +++ b/examples/exported-jani-models/leader_async_9.jani @@ -0,0 +1,8271 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"p12" + }, + { + "name":"p91" + }, + { + "name":"c12" + }, + { + "name":"c91" + }, + { + "name":"done" + }, + { + "name":"p23" + }, + { + "name":"c23" + }, + { + "name":"p34" + }, + { + "name":"c34" + }, + { + "name":"p45" + }, + { + "name":"c45" + }, + { + "name":"p56" + }, + { + "name":"c56" + }, + { + "name":"p67" + }, + { + "name":"c67" + }, + { + "name":"p78" + }, + { + "name":"c78" + }, + { + "name":"p89" + }, + { + "name":"c89" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":9, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":9, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":9, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":9, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":9, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":9, + "right":1 + } + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":9, + "right":1 + } + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":9, + "right":1 + } + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":9, + "right":1 + } + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"p9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"receive9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"sent9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"receive9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent9", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p91", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p9", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p91", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":2 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c91", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c91", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c9", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c91", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c9", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":">", + "left":"receive1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent1", + "value":1 + }, + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"c1", + "value":0 + }, + { + "ref":"sent1", + "value":0 + }, + { + "ref":"receive1", + "value":0 + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p91", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":"p9" + }, + { + "ref":"receive1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c91", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c9", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c9", + "right":1 + } + }, + { + "ref":"receive1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":"s1" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":0 + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":">", + "left":"receive2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent2", + "value":1 + }, + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"c2", + "value":0 + }, + { + "ref":"sent2", + "value":0 + }, + { + "ref":"receive2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":"p1" + }, + { + "ref":"receive2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c1", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"receive2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":"s2" + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":4 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":">", + "left":"receive3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent3", + "value":1 + }, + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"c3", + "value":0 + }, + { + "ref":"sent3", + "value":0 + }, + { + "ref":"receive3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":"p2" + }, + { + "ref":"receive3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c23", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive3", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c2", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"receive3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":"s3" + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":0 + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":4 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":">", + "left":"receive4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent4", + "value":1 + }, + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"c4", + "value":0 + }, + { + "ref":"sent4", + "value":0 + }, + { + "ref":"receive4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":"p3" + }, + { + "ref":"receive4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c34", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive4", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c3", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + }, + { + "ref":"receive4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":"s4" + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":0 + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive5", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":4 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c4", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":">", + "left":"receive5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent5", + "value":1 + }, + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"c5", + "value":0 + }, + { + "ref":"sent5", + "value":0 + }, + { + "ref":"receive5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":"p4" + }, + { + "ref":"receive5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c45", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive5", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c4", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c5", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + }, + { + "ref":"receive5", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":"s5" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":"s5" + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":0 + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"receive6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"receive6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":1 + }, + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive6", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent6", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive6", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c5", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":4 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c5", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":">", + "left":"receive6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent6", + "value":1 + }, + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent6", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"c6", + "value":0 + }, + { + "ref":"sent6", + "value":0 + }, + { + "ref":"receive6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":"p5" + }, + { + "ref":"receive6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c56", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive6", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c5", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c6", + "value":{ + "op":"+", + "left":"c5", + "right":1 + } + }, + { + "ref":"receive6", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":"s6" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":"s6" + } + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + }, + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":0 + }, + "right":{ + "op":"=", + "left":"p6", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":2 + }, + { + "ref":"receive7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":3 + }, + { + "ref":"receive7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":1 + }, + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive7", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent7", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive7", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c6", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":4 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c6", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":">", + "left":"receive7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent7", + "value":1 + }, + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent7", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":3 + }, + { + "ref":"p7", + "value":0 + }, + { + "ref":"c7", + "value":0 + }, + { + "ref":"sent7", + "value":0 + }, + { + "ref":"receive7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":"p6" + }, + { + "ref":"receive7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c67", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s7", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive7", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c6", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c7", + "value":{ + "op":"+", + "left":"c6", + "right":1 + } + }, + { + "ref":"receive7", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":"s7" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":"s7" + } + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + }, + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + }, + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":0 + }, + "right":{ + "op":"=", + "left":"p7", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":2 + }, + { + "ref":"receive8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":3 + }, + { + "ref":"receive8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent8", + "value":1 + }, + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent8", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive8", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent8", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive8", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + }, + { + "ref":"p8", + "value":0 + }, + { + "ref":"c8", + "value":0 + }, + { + "ref":"sent8", + "value":0 + }, + { + "ref":"receive8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent8", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive8", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent8", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c7", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":4 + }, + { + "ref":"p8", + "value":0 + }, + { + "ref":"c8", + "value":0 + }, + { + "ref":"sent8", + "value":0 + }, + { + "ref":"receive8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent8", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c7", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + }, + { + "ref":"p8", + "value":0 + }, + { + "ref":"c8", + "value":0 + }, + { + "ref":"sent8", + "value":0 + }, + { + "ref":"receive8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":3 + }, + "right":{ + "op":">", + "left":"receive8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent8", + "value":1 + }, + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"c89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent8", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":3 + }, + { + "ref":"p8", + "value":0 + }, + { + "ref":"c8", + "value":0 + }, + { + "ref":"sent8", + "value":0 + }, + { + "ref":"receive8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":"p7" + }, + { + "ref":"receive8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c78", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s8", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive8", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c7", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c8", + "value":{ + "op":"+", + "left":"c7", + "right":1 + } + }, + { + "ref":"receive8", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":"s8" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":"s8" + } + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + }, + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + }, + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"p91", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":1 + }, + "right":{ + "op":"=", + "left":"sent9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":0 + }, + "right":{ + "op":"=", + "left":"p8", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":2 + }, + { + "ref":"receive9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":1 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":3 + }, + { + "ref":"receive9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"p91", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent9", + "value":1 + }, + { + "ref":"p9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c91", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent9", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive9", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent9", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c91", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":2 + }, + "right":{ + "op":"=", + "left":"sent9", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"receive9", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + }, + { + "ref":"p9", + "value":0 + }, + { + "ref":"c9", + "value":0 + }, + { + "ref":"sent9", + "value":0 + }, + { + "ref":"receive9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"sent9", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"receive9", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"c89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent9", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c8", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":4 + }, + { + "ref":"p9", + "value":0 + }, + { + "ref":"c9", + "value":0 + }, + { + "ref":"sent9", + "value":0 + }, + { + "ref":"receive9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":2 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sent9", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"c8", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + }, + { + "ref":"p9", + "value":0 + }, + { + "ref":"c9", + "value":0 + }, + { + "ref":"sent9", + "value":0 + }, + { + "ref":"receive9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p91", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":3 + }, + "right":{ + "op":">", + "left":"receive9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"sent9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"sent9", + "value":1 + }, + { + "ref":"p9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"c91", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"sent9", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":3 + }, + { + "ref":"p9", + "value":0 + }, + { + "ref":"c9", + "value":0 + }, + { + "ref":"sent9", + "value":0 + }, + { + "ref":"receive9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"p89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":"p8" + }, + { + "ref":"receive9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"c89", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s9", + "right":3 + }, + "right":{ + "op":"=", + "left":"receive9", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"c8", + "right":{ + "op":"-", + "left":9, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c9", + "value":{ + "op":"+", + "left":"c8", + "right":1 + } + }, + { + "ref":"receive9", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":"s9" + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":"s9" + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + } + ], + "syncs":[ + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "p91", + null, + null, + null, + null, + null, + null, + null, + "p91" + ], + "result":"p91" + }, + { + "synchronise":[ + "c91", + null, + null, + null, + null, + null, + null, + null, + "c91" + ], + "result":"c91" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "p89", + "p89" + ], + "result":"p89" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "c89", + "c89" + ], + "result":"c89" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "p78", + "p78", + null + ], + "result":"p78" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "c78", + "c78", + null + ], + "result":"c78" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "p67", + "p67", + null, + null + ], + "result":"p67" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "c67", + "c67", + null, + null + ], + "result":"c67" + }, + { + "synchronise":[ + null, + null, + null, + null, + "p56", + "p56", + null, + null, + null + ], + "result":"p56" + }, + { + "synchronise":[ + null, + null, + null, + null, + "c56", + "c56", + null, + null, + null + ], + "result":"c56" + }, + { + "synchronise":[ + null, + null, + null, + "p45", + "p45", + null, + null, + null, + null + ], + "result":"p45" + }, + { + "synchronise":[ + null, + null, + null, + "c45", + "c45", + null, + null, + null, + null + ], + "result":"c45" + }, + { + "synchronise":[ + null, + null, + "p34", + "p34", + null, + null, + null, + null, + null + ], + "result":"p34" + }, + { + "synchronise":[ + null, + null, + "c34", + "c34", + null, + null, + null, + null, + null + ], + "result":"c34" + }, + { + "synchronise":[ + null, + "p23", + "p23", + null, + null, + null, + null, + null, + null + ], + "result":"p23" + }, + { + "synchronise":[ + null, + "c23", + "c23", + null, + null, + null, + null, + null, + null + ], + "result":"c23" + }, + { + "synchronise":[ + "p12", + "p12", + null, + null, + null, + null, + null, + null, + null + ], + "result":"p12" + }, + { + "synchronise":[ + "c12", + "c12", + null, + null, + null, + null, + null, + null, + null + ], + "result":"c12" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_3_2.jani b/examples/exported-jani-models/leader_sync_3_2.jani new file mode 100644 index 000000000..fea0d9eef --- /dev/null +++ b/examples/exported-jani-models/leader_sync_3_2.jani @@ -0,0 +1,1687 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v1" + } + }, + { + "ref":"v3", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v1" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v1" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_3_3.jani b/examples/exported-jani-models/leader_sync_3_3.jani new file mode 100644 index 000000000..d5c4d513a --- /dev/null +++ b/examples/exported-jani-models/leader_sync_3_3.jani @@ -0,0 +1,1777 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v1" + } + }, + { + "ref":"v3", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v1" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v1" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_3_4.jani b/examples/exported-jani-models/leader_sync_3_4.jani new file mode 100644 index 000000000..eb7c46c82 --- /dev/null +++ b/examples/exported-jani-models/leader_sync_3_4.jani @@ -0,0 +1,1867 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v1" + } + }, + { + "ref":"v3", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v1" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v1" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_3_5.jani b/examples/exported-jani-models/leader_sync_3_5.jani new file mode 100644 index 000000000..3b78771ee --- /dev/null +++ b/examples/exported-jani-models/leader_sync_3_5.jani @@ -0,0 +1,1957 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":4 + }, + { + "ref":"v1", + "value":4 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":4 + }, + { + "ref":"v2", + "value":4 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":4 + }, + { + "ref":"v3", + "value":4 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v1" + } + }, + { + "ref":"v3", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v1" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v1" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_3_6.jani b/examples/exported-jani-models/leader_sync_3_6.jani new file mode 100644 index 000000000..05b6579f2 --- /dev/null +++ b/examples/exported-jani-models/leader_sync_3_6.jani @@ -0,0 +1,2047 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":4 + }, + { + "ref":"v1", + "value":4 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":5 + }, + { + "ref":"v1", + "value":5 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":4 + }, + { + "ref":"v2", + "value":4 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":5 + }, + { + "ref":"v2", + "value":5 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":4 + }, + { + "ref":"v3", + "value":4 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":5 + }, + { + "ref":"v3", + "value":5 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v1" + } + }, + { + "ref":"v3", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v1" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v1" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_3_8.jani b/examples/exported-jani-models/leader_sync_3_8.jani new file mode 100644 index 000000000..a6991d954 --- /dev/null +++ b/examples/exported-jani-models/leader_sync_3_8.jani @@ -0,0 +1,2227 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":4 + }, + { + "ref":"v1", + "value":4 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":5 + }, + { + "ref":"v1", + "value":5 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":6 + }, + { + "ref":"v1", + "value":6 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":7 + }, + { + "ref":"v1", + "value":7 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":4 + }, + { + "ref":"v2", + "value":4 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":5 + }, + { + "ref":"v2", + "value":5 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":6 + }, + { + "ref":"v2", + "value":6 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":7 + }, + { + "ref":"v2", + "value":7 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":4 + }, + { + "ref":"v3", + "value":4 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":5 + }, + { + "ref":"v3", + "value":5 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":6 + }, + { + "ref":"v3", + "value":6 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":7 + }, + { + "ref":"v3", + "value":7 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v1" + } + }, + { + "ref":"v3", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v1" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v1" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_4_2.jani b/examples/exported-jani-models/leader_sync_4_2.jani new file mode 100644 index 000000000..676f87945 --- /dev/null +++ b/examples/exported-jani-models/leader_sync_4_2.jani @@ -0,0 +1,2165 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v1" + } + }, + { + "ref":"v4", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v1" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v1" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_4_3.jani b/examples/exported-jani-models/leader_sync_4_3.jani new file mode 100644 index 000000000..e7a99418a --- /dev/null +++ b/examples/exported-jani-models/leader_sync_4_3.jani @@ -0,0 +1,2283 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":2 + }, + { + "ref":"v4", + "value":2 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v1" + } + }, + { + "ref":"v4", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v1" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v1" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_4_4.jani b/examples/exported-jani-models/leader_sync_4_4.jani new file mode 100644 index 000000000..9a55b8736 --- /dev/null +++ b/examples/exported-jani-models/leader_sync_4_4.jani @@ -0,0 +1,2401 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":2 + }, + { + "ref":"v4", + "value":2 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":3 + }, + { + "ref":"v4", + "value":3 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v1" + } + }, + { + "ref":"v4", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v1" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v1" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_4_5.jani b/examples/exported-jani-models/leader_sync_4_5.jani new file mode 100644 index 000000000..94612f43f --- /dev/null +++ b/examples/exported-jani-models/leader_sync_4_5.jani @@ -0,0 +1,2519 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":4 + }, + { + "ref":"v1", + "value":4 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":4 + }, + { + "ref":"v2", + "value":4 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":4 + }, + { + "ref":"v3", + "value":4 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":2 + }, + { + "ref":"v4", + "value":2 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":3 + }, + { + "ref":"v4", + "value":3 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":4 + }, + { + "ref":"v4", + "value":4 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v1" + } + }, + { + "ref":"v4", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v1" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v1" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_4_6.jani b/examples/exported-jani-models/leader_sync_4_6.jani new file mode 100644 index 000000000..3d548020e --- /dev/null +++ b/examples/exported-jani-models/leader_sync_4_6.jani @@ -0,0 +1,2637 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":4 + }, + { + "ref":"v1", + "value":4 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":5 + }, + { + "ref":"v1", + "value":5 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":4 + }, + { + "ref":"v2", + "value":4 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":5 + }, + { + "ref":"v2", + "value":5 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":4 + }, + { + "ref":"v3", + "value":4 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":5 + }, + { + "ref":"v3", + "value":5 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":2 + }, + { + "ref":"v4", + "value":2 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":3 + }, + { + "ref":"v4", + "value":3 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":4 + }, + { + "ref":"v4", + "value":4 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":5 + }, + { + "ref":"v4", + "value":5 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v1" + } + }, + { + "ref":"v4", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v1" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v1" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_4_8.jani b/examples/exported-jani-models/leader_sync_4_8.jani new file mode 100644 index 000000000..2aa39f7d1 --- /dev/null +++ b/examples/exported-jani-models/leader_sync_4_8.jani @@ -0,0 +1,2873 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":4 + }, + { + "ref":"v1", + "value":4 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":5 + }, + { + "ref":"v1", + "value":5 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":6 + }, + { + "ref":"v1", + "value":6 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":7 + }, + { + "ref":"v1", + "value":7 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":4 + }, + { + "ref":"v2", + "value":4 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":5 + }, + { + "ref":"v2", + "value":5 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":6 + }, + { + "ref":"v2", + "value":6 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":7 + }, + { + "ref":"v2", + "value":7 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":4 + }, + { + "ref":"v3", + "value":4 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":5 + }, + { + "ref":"v3", + "value":5 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":6 + }, + { + "ref":"v3", + "value":6 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":7 + }, + { + "ref":"v3", + "value":7 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":2 + }, + { + "ref":"v4", + "value":2 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":3 + }, + { + "ref":"v4", + "value":3 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":4 + }, + { + "ref":"v4", + "value":4 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":5 + }, + { + "ref":"v4", + "value":5 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":6 + }, + { + "ref":"v4", + "value":6 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":7 + }, + { + "ref":"v4", + "value":7 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v1" + } + }, + { + "ref":"v4", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v1" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v1" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_5_2.jani b/examples/exported-jani-models/leader_sync_5_2.jani new file mode 100644 index 000000000..9adf8e70e --- /dev/null +++ b/examples/exported-jani-models/leader_sync_5_2.jani @@ -0,0 +1,2643 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u5", + "type":"bool" + }, + { + "name":"v5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u5", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":"v5" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v5" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + }, + { + "ref":"v5", + "value":1 + }, + { + "ref":"u5", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v1" + } + }, + { + "ref":"v5", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":"v1" + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v1" + } + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_5_3.jani b/examples/exported-jani-models/leader_sync_5_3.jani new file mode 100644 index 000000000..31cca51eb --- /dev/null +++ b/examples/exported-jani-models/leader_sync_5_3.jani @@ -0,0 +1,2789 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u5", + "type":"bool" + }, + { + "name":"v5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u5", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":2 + }, + { + "ref":"v4", + "value":2 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":"v5" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v5" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + }, + { + "ref":"v5", + "value":1 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":2 + }, + { + "ref":"v5", + "value":2 + }, + { + "ref":"u5", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v1" + } + }, + { + "ref":"v5", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":"v1" + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v1" + } + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_5_4.jani b/examples/exported-jani-models/leader_sync_5_4.jani new file mode 100644 index 000000000..8f5d809b5 --- /dev/null +++ b/examples/exported-jani-models/leader_sync_5_4.jani @@ -0,0 +1,2935 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u5", + "type":"bool" + }, + { + "name":"v5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u5", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":2 + }, + { + "ref":"v4", + "value":2 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":3 + }, + { + "ref":"v4", + "value":3 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":"v5" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v5" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + }, + { + "ref":"v5", + "value":1 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":2 + }, + { + "ref":"v5", + "value":2 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":3 + }, + { + "ref":"v5", + "value":3 + }, + { + "ref":"u5", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v1" + } + }, + { + "ref":"v5", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":"v1" + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v1" + } + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_5_5.jani b/examples/exported-jani-models/leader_sync_5_5.jani new file mode 100644 index 000000000..59860511d --- /dev/null +++ b/examples/exported-jani-models/leader_sync_5_5.jani @@ -0,0 +1,3081 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u5", + "type":"bool" + }, + { + "name":"v5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u5", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":4 + }, + { + "ref":"v1", + "value":4 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":4 + }, + { + "ref":"v2", + "value":4 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":4 + }, + { + "ref":"v3", + "value":4 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":2 + }, + { + "ref":"v4", + "value":2 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":3 + }, + { + "ref":"v4", + "value":3 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":4 + }, + { + "ref":"v4", + "value":4 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":"v5" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v5" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + }, + { + "ref":"v5", + "value":1 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":2 + }, + { + "ref":"v5", + "value":2 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":3 + }, + { + "ref":"v5", + "value":3 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":4 + }, + { + "ref":"v5", + "value":4 + }, + { + "ref":"u5", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v1" + } + }, + { + "ref":"v5", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":"v1" + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v1" + } + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_5_6.jani b/examples/exported-jani-models/leader_sync_5_6.jani new file mode 100644 index 000000000..4abe5f164 --- /dev/null +++ b/examples/exported-jani-models/leader_sync_5_6.jani @@ -0,0 +1,3227 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u5", + "type":"bool" + }, + { + "name":"v5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u5", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":4 + }, + { + "ref":"v1", + "value":4 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":5 + }, + { + "ref":"v1", + "value":5 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":4 + }, + { + "ref":"v2", + "value":4 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":5 + }, + { + "ref":"v2", + "value":5 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":4 + }, + { + "ref":"v3", + "value":4 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":5 + }, + { + "ref":"v3", + "value":5 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":2 + }, + { + "ref":"v4", + "value":2 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":3 + }, + { + "ref":"v4", + "value":3 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":4 + }, + { + "ref":"v4", + "value":4 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":5 + }, + { + "ref":"v4", + "value":5 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":"v5" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v5" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + }, + { + "ref":"v5", + "value":1 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":2 + }, + { + "ref":"v5", + "value":2 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":3 + }, + { + "ref":"v5", + "value":3 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":4 + }, + { + "ref":"v5", + "value":4 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":5 + }, + { + "ref":"v5", + "value":5 + }, + { + "ref":"u5", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v1" + } + }, + { + "ref":"v5", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":"v1" + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v1" + } + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_5_8.jani b/examples/exported-jani-models/leader_sync_5_8.jani new file mode 100644 index 000000000..9105476f4 --- /dev/null +++ b/examples/exported-jani-models/leader_sync_5_8.jani @@ -0,0 +1,3519 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u5", + "type":"bool" + }, + { + "name":"v5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u5", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":4 + }, + { + "ref":"v1", + "value":4 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":5 + }, + { + "ref":"v1", + "value":5 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":6 + }, + { + "ref":"v1", + "value":6 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":7 + }, + { + "ref":"v1", + "value":7 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":4 + }, + { + "ref":"v2", + "value":4 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":5 + }, + { + "ref":"v2", + "value":5 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":6 + }, + { + "ref":"v2", + "value":6 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":7 + }, + { + "ref":"v2", + "value":7 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":4 + }, + { + "ref":"v3", + "value":4 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":5 + }, + { + "ref":"v3", + "value":5 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":6 + }, + { + "ref":"v3", + "value":6 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":7 + }, + { + "ref":"v3", + "value":7 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":2 + }, + { + "ref":"v4", + "value":2 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":3 + }, + { + "ref":"v4", + "value":3 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":4 + }, + { + "ref":"v4", + "value":4 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":5 + }, + { + "ref":"v4", + "value":5 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":6 + }, + { + "ref":"v4", + "value":6 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":7 + }, + { + "ref":"v4", + "value":7 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":"v5" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v5" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + }, + { + "ref":"v5", + "value":1 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":2 + }, + { + "ref":"v5", + "value":2 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":3 + }, + { + "ref":"v5", + "value":3 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":4 + }, + { + "ref":"v5", + "value":4 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":5 + }, + { + "ref":"v5", + "value":5 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":6 + }, + { + "ref":"v5", + "value":6 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":7 + }, + { + "ref":"v5", + "value":7 + }, + { + "ref":"u5", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v1" + } + }, + { + "ref":"v5", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":"v1" + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v1" + } + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":5, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_6_2.jani b/examples/exported-jani-models/leader_sync_6_2.jani new file mode 100644 index 000000000..3ca94f86c --- /dev/null +++ b/examples/exported-jani-models/leader_sync_6_2.jani @@ -0,0 +1,3121 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u5", + "type":"bool" + }, + { + "name":"v5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u6", + "type":"bool" + }, + { + "name":"v6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":2, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u5", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u6", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + }, + "right":"u6" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + }, + "right":"u6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":"v5" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v5" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + }, + { + "ref":"v5", + "value":1 + }, + { + "ref":"u5", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v6" + } + }, + { + "ref":"v5", + "value":"v6" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":"v6" + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v6" + } + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":1 + }, + { + "ref":"v6", + "value":1 + }, + { + "ref":"u6", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":"u6" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u6", + "value":{ + "op":"≠", + "left":"p6", + "right":"v1" + } + }, + { + "ref":"v6", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u6" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":"v1" + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":"u6" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"u6", + "value":{ + "op":"≠", + "left":"p6", + "right":"v1" + } + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u6" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_6_3.jani b/examples/exported-jani-models/leader_sync_6_3.jani new file mode 100644 index 000000000..aee387572 --- /dev/null +++ b/examples/exported-jani-models/leader_sync_6_3.jani @@ -0,0 +1,3295 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u5", + "type":"bool" + }, + { + "name":"v5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u6", + "type":"bool" + }, + { + "name":"v6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":3, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u5", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u6", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + }, + "right":"u6" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + }, + "right":"u6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":2 + }, + { + "ref":"v4", + "value":2 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":"v5" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v5" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + }, + { + "ref":"v5", + "value":1 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":2 + }, + { + "ref":"v5", + "value":2 + }, + { + "ref":"u5", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v6" + } + }, + { + "ref":"v5", + "value":"v6" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":"v6" + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v6" + } + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":1 + }, + { + "ref":"v6", + "value":1 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":2 + }, + { + "ref":"v6", + "value":2 + }, + { + "ref":"u6", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":"u6" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u6", + "value":{ + "op":"≠", + "left":"p6", + "right":"v1" + } + }, + { + "ref":"v6", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u6" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":"v1" + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":"u6" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"u6", + "value":{ + "op":"≠", + "left":"p6", + "right":"v1" + } + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u6" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_6_4.jani b/examples/exported-jani-models/leader_sync_6_4.jani new file mode 100644 index 000000000..36e6d92f8 --- /dev/null +++ b/examples/exported-jani-models/leader_sync_6_4.jani @@ -0,0 +1,3469 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u5", + "type":"bool" + }, + { + "name":"v5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u6", + "type":"bool" + }, + { + "name":"v6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":4, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u5", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u6", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + }, + "right":"u6" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + }, + "right":"u6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":2 + }, + { + "ref":"v4", + "value":2 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":3 + }, + { + "ref":"v4", + "value":3 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":"v5" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v5" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + }, + { + "ref":"v5", + "value":1 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":2 + }, + { + "ref":"v5", + "value":2 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":3 + }, + { + "ref":"v5", + "value":3 + }, + { + "ref":"u5", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v6" + } + }, + { + "ref":"v5", + "value":"v6" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":"v6" + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v6" + } + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":1 + }, + { + "ref":"v6", + "value":1 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":2 + }, + { + "ref":"v6", + "value":2 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":3 + }, + { + "ref":"v6", + "value":3 + }, + { + "ref":"u6", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":"u6" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u6", + "value":{ + "op":"≠", + "left":"p6", + "right":"v1" + } + }, + { + "ref":"v6", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u6" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":"v1" + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":"u6" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"u6", + "value":{ + "op":"≠", + "left":"p6", + "right":"v1" + } + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u6" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_6_5.jani b/examples/exported-jani-models/leader_sync_6_5.jani new file mode 100644 index 000000000..e0e0f1878 --- /dev/null +++ b/examples/exported-jani-models/leader_sync_6_5.jani @@ -0,0 +1,3643 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u5", + "type":"bool" + }, + { + "name":"v5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u6", + "type":"bool" + }, + { + "name":"v6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":5, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u5", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u6", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + }, + "right":"u6" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + }, + "right":"u6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":4 + }, + { + "ref":"v1", + "value":4 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":4 + }, + { + "ref":"v2", + "value":4 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":4 + }, + { + "ref":"v3", + "value":4 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":2 + }, + { + "ref":"v4", + "value":2 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":3 + }, + { + "ref":"v4", + "value":3 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":4 + }, + { + "ref":"v4", + "value":4 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":"v5" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v5" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + }, + { + "ref":"v5", + "value":1 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":2 + }, + { + "ref":"v5", + "value":2 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":3 + }, + { + "ref":"v5", + "value":3 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":4 + }, + { + "ref":"v5", + "value":4 + }, + { + "ref":"u5", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v6" + } + }, + { + "ref":"v5", + "value":"v6" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":"v6" + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v6" + } + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":1 + }, + { + "ref":"v6", + "value":1 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":2 + }, + { + "ref":"v6", + "value":2 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":3 + }, + { + "ref":"v6", + "value":3 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":4 + }, + { + "ref":"v6", + "value":4 + }, + { + "ref":"u6", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":"u6" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u6", + "value":{ + "op":"≠", + "left":"p6", + "right":"v1" + } + }, + { + "ref":"v6", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u6" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":"v1" + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":"u6" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"u6", + "value":{ + "op":"≠", + "left":"p6", + "right":"v1" + } + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u6" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_6_6.jani b/examples/exported-jani-models/leader_sync_6_6.jani new file mode 100644 index 000000000..2887ca3fe --- /dev/null +++ b/examples/exported-jani-models/leader_sync_6_6.jani @@ -0,0 +1,3817 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u5", + "type":"bool" + }, + { + "name":"v5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u6", + "type":"bool" + }, + { + "name":"v6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u5", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u6", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + }, + "right":"u6" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + }, + "right":"u6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":4 + }, + { + "ref":"v1", + "value":4 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":5 + }, + { + "ref":"v1", + "value":5 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":4 + }, + { + "ref":"v2", + "value":4 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":5 + }, + { + "ref":"v2", + "value":5 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":4 + }, + { + "ref":"v3", + "value":4 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":5 + }, + { + "ref":"v3", + "value":5 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":2 + }, + { + "ref":"v4", + "value":2 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":3 + }, + { + "ref":"v4", + "value":3 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":4 + }, + { + "ref":"v4", + "value":4 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":5 + }, + { + "ref":"v4", + "value":5 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":"v5" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v5" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + }, + { + "ref":"v5", + "value":1 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":2 + }, + { + "ref":"v5", + "value":2 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":3 + }, + { + "ref":"v5", + "value":3 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":4 + }, + { + "ref":"v5", + "value":4 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":5 + }, + { + "ref":"v5", + "value":5 + }, + { + "ref":"u5", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v6" + } + }, + { + "ref":"v5", + "value":"v6" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":"v6" + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v6" + } + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":1 + }, + { + "ref":"v6", + "value":1 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":2 + }, + { + "ref":"v6", + "value":2 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":3 + }, + { + "ref":"v6", + "value":3 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":4 + }, + { + "ref":"v6", + "value":4 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":5 + }, + { + "ref":"v6", + "value":5 + }, + { + "ref":"u6", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":"u6" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u6", + "value":{ + "op":"≠", + "left":"p6", + "right":"v1" + } + }, + { + "ref":"v6", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u6" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":"v1" + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":"u6" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"u6", + "value":{ + "op":"≠", + "left":"p6", + "right":"v1" + } + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u6" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/leader_sync_6_8.jani b/examples/exported-jani-models/leader_sync_6_8.jani new file mode 100644 index 000000000..61a84d69d --- /dev/null +++ b/examples/exported-jani-models/leader_sync_6_8.jani @@ -0,0 +1,4165 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"read" + }, + { + "name":"done" + }, + { + "name":"retry" + }, + { + "name":"loop" + }, + { + "name":"pick" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u1", + "type":"bool" + }, + { + "name":"v1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u2", + "type":"bool" + }, + { + "name":"v2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u3", + "type":"bool" + }, + { + "name":"v3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u4", + "type":"bool" + }, + { + "name":"v4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u5", + "type":"bool" + }, + { + "name":"v5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"u6", + "type":"bool" + }, + { + "name":"v6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"-", + "left":8, + "right":1 + } + } + } + ], + "observables":[ + { + "name":"\"num_rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u1", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u5", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"u6", + "right":false + } + }, + "right":{ + "op":"=", + "left":"v6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + }, + "right":"u6" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":"u1", + "right":"u2" + }, + "right":"u3" + }, + "right":"u4" + }, + "right":"u5" + }, + "right":"u6" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":"c" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":0 + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":1 + }, + { + "ref":"v1", + "value":1 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":2 + }, + { + "ref":"v1", + "value":2 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":3 + }, + { + "ref":"v1", + "value":3 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":4 + }, + { + "ref":"v1", + "value":4 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":5 + }, + { + "ref":"v1", + "value":5 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":6 + }, + { + "ref":"v1", + "value":6 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + }, + { + "ref":"p1", + "value":7 + }, + { + "ref":"v1", + "value":7 + }, + { + "ref":"u1", + "value":true + } + ], + "observables":[ + { + "ref":"\"num_rounds\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":"v2" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":"v2" + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":"u1" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":{ + "op":"≠", + "left":"p1", + "right":"v2" + } + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"u1", + "value":false + }, + { + "ref":"v1", + "value":0 + }, + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":0 + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":1 + }, + { + "ref":"v2", + "value":1 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":2 + }, + { + "ref":"v2", + "value":2 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":3 + }, + { + "ref":"v2", + "value":3 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":4 + }, + { + "ref":"v2", + "value":4 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":5 + }, + { + "ref":"v2", + "value":5 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":6 + }, + { + "ref":"v2", + "value":6 + }, + { + "ref":"u2", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + }, + { + "ref":"p2", + "value":7 + }, + { + "ref":"v2", + "value":7 + }, + { + "ref":"u2", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":"v3" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":"v3" + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":"u2" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":{ + "op":"≠", + "left":"p2", + "right":"v3" + } + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"u2", + "value":false + }, + { + "ref":"v2", + "value":0 + }, + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":0 + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":1 + }, + { + "ref":"v3", + "value":1 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":2 + }, + { + "ref":"v3", + "value":2 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":3 + }, + { + "ref":"v3", + "value":3 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":4 + }, + { + "ref":"v3", + "value":4 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":5 + }, + { + "ref":"v3", + "value":5 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":6 + }, + { + "ref":"v3", + "value":6 + }, + { + "ref":"u3", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + }, + { + "ref":"p3", + "value":7 + }, + { + "ref":"v3", + "value":7 + }, + { + "ref":"u3", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":"v4" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":"v4" + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":"u3" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":{ + "op":"≠", + "left":"p3", + "right":"v4" + } + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s3", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":2 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + }, + { + "ref":"u3", + "value":false + }, + { + "ref":"v3", + "value":0 + }, + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":0 + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":1 + }, + { + "ref":"v4", + "value":1 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":2 + }, + { + "ref":"v4", + "value":2 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":3 + }, + { + "ref":"v4", + "value":3 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":4 + }, + { + "ref":"v4", + "value":4 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":5 + }, + { + "ref":"v4", + "value":5 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":6 + }, + { + "ref":"v4", + "value":6 + }, + { + "ref":"u4", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + }, + { + "ref":"p4", + "value":7 + }, + { + "ref":"v4", + "value":7 + }, + { + "ref":"u4", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":"v5" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":"v5" + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":"u4" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":{ + "op":"≠", + "left":"p4", + "right":"v5" + } + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s4", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":2 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + }, + { + "ref":"u4", + "value":false + }, + { + "ref":"v4", + "value":0 + }, + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":0 + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":1 + }, + { + "ref":"v5", + "value":1 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":2 + }, + { + "ref":"v5", + "value":2 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":3 + }, + { + "ref":"v5", + "value":3 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":4 + }, + { + "ref":"v5", + "value":4 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":5 + }, + { + "ref":"v5", + "value":5 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":6 + }, + { + "ref":"v5", + "value":6 + }, + { + "ref":"u5", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + }, + { + "ref":"p5", + "value":7 + }, + { + "ref":"v5", + "value":7 + }, + { + "ref":"u5", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v6" + } + }, + { + "ref":"v5", + "value":"v6" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":"v6" + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":"u5" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":{ + "op":"≠", + "left":"p5", + "right":"v6" + } + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s5", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":2 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + }, + { + "ref":"u5", + "value":false + }, + { + "ref":"v5", + "value":0 + }, + { + "ref":"p5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"pick", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":0 + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":1 + }, + { + "ref":"v6", + "value":1 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":2 + }, + { + "ref":"v6", + "value":2 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":3 + }, + { + "ref":"v6", + "value":3 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":4 + }, + { + "ref":"v6", + "value":4 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":5 + }, + { + "ref":"v6", + "value":5 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":6 + }, + { + "ref":"v6", + "value":6 + }, + { + "ref":"u6", + "value":true + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + }, + { + "ref":"p6", + "value":7 + }, + { + "ref":"v6", + "value":7 + }, + { + "ref":"u6", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":"u6" + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u6", + "value":{ + "op":"≠", + "left":"p6", + "right":"v1" + } + }, + { + "ref":"v6", + "value":"v1" + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u6" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":"v1" + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":"u6" + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"u6", + "value":{ + "op":"≠", + "left":"p6", + "right":"v1" + } + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"read", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s6", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"u6" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":{ + "op":"-", + "left":6, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":2 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"retry", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + }, + { + "ref":"u6", + "value":false + }, + { + "ref":"v6", + "value":0 + }, + { + "ref":"p6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":3 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + } + ], + "syncs":[ + { + "synchronise":[ + "read", + "read", + "read", + "read", + "read", + "read", + "read" + ], + "result":"read" + }, + { + "synchronise":[ + "done", + "done", + "done", + "done", + "done", + "done", + "done" + ], + "result":"done" + }, + { + "synchronise":[ + "retry", + "retry", + "retry", + "retry", + "retry", + "retry", + "retry" + ], + "result":"retry" + }, + { + "synchronise":[ + "loop", + "loop", + "loop", + "loop", + "loop", + "loop", + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + "pick", + "pick", + "pick", + "pick", + "pick", + "pick" + ], + "result":"pick" + } + ] + } +} diff --git a/examples/exported-jani-models/mapk_cascade.jani b/examples/exported-jani-models/mapk_cascade.jani new file mode 100644 index 000000000..97f098e3a --- /dev/null +++ b/examples/exported-jani-models/mapk_cascade.jani @@ -0,0 +1,3595 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"a_kkk_e1" + }, + { + "name":"d_kkk_e1" + }, + { + "name":"k_kkk_e1" + }, + { + "name":"a_k_ptase" + }, + { + "name":"d_k_ptase" + }, + { + "name":"k_k_ptase" + }, + { + "name":"a_k_kk" + }, + { + "name":"d_k_kk" + }, + { + "name":"k_k_kk" + }, + { + "name":"a_kk_kkk" + }, + { + "name":"d_kk_kkk" + }, + { + "name":"k_kk_kkk" + }, + { + "name":"a_kk_ptase" + }, + { + "name":"d_kk_ptase" + }, + { + "name":"k_kk_ptase" + }, + { + "name":"a_kkk_e2" + }, + { + "name":"d_kkk_e2" + }, + { + "name":"k_kkk_e2" + } + ], + "constants":[ + { + "name":"N", + "type":"int" + } + ], + "variables":[ + { + "name":"e1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"kptase", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"k", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"k_kkpp", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kp", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kp_kkpp", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kp_ptase", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kpp", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kpp_ptase", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kk", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kk_kkkp", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kkp", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kkp_kkkp", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kkp_ptase", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kkpp", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kkpp_ptase", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kkk", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kkk_e1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kkkp", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"kkkp_e2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"e2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"kkptase", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"activated\"" + }, + { + "name":"\"activated_squared\"" + }, + { + "name":"\"percentage\"" + }, + { + "name":"\"reactions\"" + }, + { + "name":"\"time\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"e1", + "right":1 + }, + "right":{ + "op":"=", + "left":"kptase", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"k", + "right":"N" + } + }, + "right":{ + "op":"=", + "left":"k_kkpp", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"kp", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"kp_kkpp", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"kp_ptase", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"kpp", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"kpp_ptase", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"kk", + "right":"N" + } + }, + "right":{ + "op":"=", + "left":"kk_kkkp", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"kkp", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"kkp_kkkp", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"kkp_ptase", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"kkpp", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"kkpp_ptase", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"kkk", + "right":"N" + } + }, + "right":{ + "op":"=", + "left":"kkk_e1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"kkkp", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"kkkp_e2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"e2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"kkptase", + "right":1 + } + } + }, + "automata":[ + { + "name":"E1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"activated\"", + "value":"kpp" + }, + { + "ref":"\"activated_squared\"", + "value":{ + "op":"*", + "left":"kpp", + "right":"kpp" + } + }, + { + "ref":"\"percentage\"", + "value":{ + "op":"*", + "left":100, + "right":{ + "op":"/", + "left":"kpp", + "right":"N" + } + } + }, + { + "ref":"\"time\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"a_kkk_e1", + "rate":{ + "exp":"e1" + }, + "guard":{ + "exp":{ + "op":">", + "left":"e1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"e1", + "right":"e1" + } + }, + "location":"location", + "assignments":[ + { + "ref":"e1", + "value":{ + "op":"-", + "left":"e1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"d_kkk_e1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"e1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"e1", + "value":{ + "op":"+", + "left":"e1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"k_kkk_e1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"e1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"e1", + "value":{ + "op":"+", + "left":"e1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"KPTASE", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"a_k_ptase", + "rate":{ + "exp":"kptase" + }, + "guard":{ + "exp":{ + "op":">", + "left":"kptase", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"kptase", + "right":"kptase" + } + }, + "location":"location", + "assignments":[ + { + "ref":"kptase", + "value":{ + "op":"-", + "left":"kptase", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"d_k_ptase", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"kptase", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"kptase", + "value":{ + "op":"+", + "left":"kptase", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"k_k_ptase", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"kptase", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"kptase", + "value":{ + "op":"+", + "left":"kptase", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"MAPK", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"a_k_kk", + "rate":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"k" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"k", + "right":0 + }, + "right":{ + "op":"<", + "left":"k_kkpp", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"k" + }, + "right":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"k" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"k_kkpp", + "value":{ + "op":"+", + "left":"k_kkpp", + "right":1 + } + }, + { + "ref":"k", + "value":{ + "op":"-", + "left":"k", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"reactions\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"d_k_kk", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"k_kkpp" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"<", + "left":"k", + "right":"N" + }, + "right":{ + "op":">", + "left":"k_kkpp", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"k_kkpp" + }, + "right":{ + "op":"*", + "left":150, + "right":"k_kkpp" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"k_kkpp", + "value":{ + "op":"-", + "left":"k_kkpp", + "right":1 + } + }, + { + "ref":"k", + "value":{ + "op":"+", + "left":"k", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"reactions\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"k_k_kk", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"k_kkpp" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"k_kkpp", + "right":0 + }, + "right":{ + "op":"<", + "left":"kp", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"k_kkpp" + }, + "right":{ + "op":"*", + "left":150, + "right":"k_kkpp" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"k_kkpp", + "value":{ + "op":"-", + "left":"k_kkpp", + "right":1 + } + }, + { + "ref":"kp", + "value":{ + "op":"+", + "left":"kp", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"reactions\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"a_k_ptase", + "rate":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kp" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kp", + "right":0 + }, + "right":{ + "op":"<", + "left":"kp_ptase", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kp" + }, + "right":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kp" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kp_ptase", + "value":{ + "op":"+", + "left":"kp_ptase", + "right":1 + } + }, + { + "ref":"kp", + "value":{ + "op":"-", + "left":"kp", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"d_k_ptase", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kp_ptase" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"<", + "left":"kp", + "right":"N" + }, + "right":{ + "op":">", + "left":"kp_ptase", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kp_ptase" + }, + "right":{ + "op":"*", + "left":150, + "right":"kp_ptase" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kp_ptase", + "value":{ + "op":"-", + "left":"kp_ptase", + "right":1 + } + }, + { + "ref":"kp", + "value":{ + "op":"+", + "left":"kp", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"k_k_ptase", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kp_ptase" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kp_ptase", + "right":0 + }, + "right":{ + "op":"<", + "left":"k", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kp_ptase" + }, + "right":{ + "op":"*", + "left":150, + "right":"kp_ptase" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kp_ptase", + "value":{ + "op":"-", + "left":"kp_ptase", + "right":1 + } + }, + { + "ref":"k", + "value":{ + "op":"+", + "left":"k", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"a_k_kk", + "rate":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kp" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kp", + "right":0 + }, + "right":{ + "op":"<", + "left":"kp_kkpp", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kp" + }, + "right":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kp" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kp_kkpp", + "value":{ + "op":"+", + "left":"kp_kkpp", + "right":1 + } + }, + { + "ref":"kp", + "value":{ + "op":"-", + "left":"kp", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"reactions\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"d_k_kk", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kp_kkpp" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"<", + "left":"kp", + "right":"N" + }, + "right":{ + "op":">", + "left":"kp_kkpp", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kp_kkpp" + }, + "right":{ + "op":"*", + "left":150, + "right":"kp_kkpp" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kp_kkpp", + "value":{ + "op":"-", + "left":"kp_kkpp", + "right":1 + } + }, + { + "ref":"kp", + "value":{ + "op":"+", + "left":"kp", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"reactions\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"k_k_kk", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kp_kkpp" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kp_kkpp", + "right":0 + }, + "right":{ + "op":"<", + "left":"kpp", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kp_kkpp" + }, + "right":{ + "op":"*", + "left":150, + "right":"kp_kkpp" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kp_kkpp", + "value":{ + "op":"-", + "left":"kp_kkpp", + "right":1 + } + }, + { + "ref":"kpp", + "value":{ + "op":"+", + "left":"kpp", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"reactions\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"a_k_ptase", + "rate":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kpp" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kpp", + "right":0 + }, + "right":{ + "op":"<", + "left":"kpp_ptase", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kpp" + }, + "right":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kpp" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kpp_ptase", + "value":{ + "op":"+", + "left":"kpp_ptase", + "right":1 + } + }, + { + "ref":"kpp", + "value":{ + "op":"-", + "left":"kpp", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"d_k_ptase", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kpp_ptase" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"<", + "left":"kpp", + "right":"N" + }, + "right":{ + "op":">", + "left":"kpp_ptase", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kpp_ptase" + }, + "right":{ + "op":"*", + "left":150, + "right":"kpp_ptase" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kpp_ptase", + "value":{ + "op":"-", + "left":"kpp_ptase", + "right":1 + } + }, + { + "ref":"kpp", + "value":{ + "op":"+", + "left":"kpp", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"k_k_ptase", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kpp_ptase" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kpp_ptase", + "right":0 + }, + "right":{ + "op":"<", + "left":"kp", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kpp_ptase" + }, + "right":{ + "op":"*", + "left":150, + "right":"kpp_ptase" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kpp_ptase", + "value":{ + "op":"-", + "left":"kpp_ptase", + "right":1 + } + }, + { + "ref":"kp", + "value":{ + "op":"+", + "left":"kp", + "right":1 + } + } + ] + } + ] + } + ] + }, + { + "name":"MAPKK", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"a_kk_kkk", + "rate":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kk" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kk", + "right":0 + }, + "right":{ + "op":"<", + "left":"kk_kkkp", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kk" + }, + "right":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kk" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kk_kkkp", + "value":{ + "op":"+", + "left":"kk_kkkp", + "right":1 + } + }, + { + "ref":"kk", + "value":{ + "op":"-", + "left":"kk", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"d_kk_kkk", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kk_kkkp" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"<", + "left":"kk", + "right":"N" + }, + "right":{ + "op":">", + "left":"kk_kkkp", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kk_kkkp" + }, + "right":{ + "op":"*", + "left":150, + "right":"kk_kkkp" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kk_kkkp", + "value":{ + "op":"-", + "left":"kk_kkkp", + "right":1 + } + }, + { + "ref":"kk", + "value":{ + "op":"+", + "left":"kk", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"k_kk_kkk", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kk_kkkp" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kk_kkkp", + "right":0 + }, + "right":{ + "op":"<", + "left":"kkp", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kk_kkkp" + }, + "right":{ + "op":"*", + "left":150, + "right":"kk_kkkp" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kk_kkkp", + "value":{ + "op":"-", + "left":"kk_kkkp", + "right":1 + } + }, + { + "ref":"kkp", + "value":{ + "op":"+", + "left":"kkp", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"a_kk_ptase", + "rate":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kkp" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kkp", + "right":0 + }, + "right":{ + "op":"<", + "left":"kkp_ptase", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kkp" + }, + "right":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kkp" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkp_ptase", + "value":{ + "op":"+", + "left":"kkp_ptase", + "right":1 + } + }, + { + "ref":"kkp", + "value":{ + "op":"-", + "left":"kkp", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"d_kk_ptase", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kkp_ptase" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"<", + "left":"kkp", + "right":"N" + }, + "right":{ + "op":">", + "left":"kkp_ptase", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kkp_ptase" + }, + "right":{ + "op":"*", + "left":150, + "right":"kkp_ptase" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkp_ptase", + "value":{ + "op":"-", + "left":"kkp_ptase", + "right":1 + } + }, + { + "ref":"kkp", + "value":{ + "op":"+", + "left":"kkp", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"k_kk_ptase", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kkp_ptase" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kkp_ptase", + "right":0 + }, + "right":{ + "op":"<", + "left":"kk", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kkp_ptase" + }, + "right":{ + "op":"*", + "left":150, + "right":"kkp_ptase" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkp_ptase", + "value":{ + "op":"-", + "left":"kkp_ptase", + "right":1 + } + }, + { + "ref":"kk", + "value":{ + "op":"+", + "left":"kk", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"a_kk_kkk", + "rate":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kkp" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kkp", + "right":0 + }, + "right":{ + "op":"<", + "left":"kkp_kkkp", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kkp" + }, + "right":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kkp" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkp_kkkp", + "value":{ + "op":"+", + "left":"kkp_kkkp", + "right":1 + } + }, + { + "ref":"kkp", + "value":{ + "op":"-", + "left":"kkp", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"d_kk_kkk", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kkp_kkkp" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"<", + "left":"kkp", + "right":"N" + }, + "right":{ + "op":">", + "left":"kkp_kkkp", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kkp_kkkp" + }, + "right":{ + "op":"*", + "left":150, + "right":"kkp_kkkp" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkp_kkkp", + "value":{ + "op":"-", + "left":"kkp_kkkp", + "right":1 + } + }, + { + "ref":"kkp", + "value":{ + "op":"+", + "left":"kkp", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"k_kk_kkk", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kkp_kkkp" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kkp_kkkp", + "right":0 + }, + "right":{ + "op":"<", + "left":"kkpp", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kkp_kkkp" + }, + "right":{ + "op":"*", + "left":150, + "right":"kkp_kkkp" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkp_kkkp", + "value":{ + "op":"-", + "left":"kkp_kkkp", + "right":1 + } + }, + { + "ref":"kkpp", + "value":{ + "op":"+", + "left":"kkpp", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"a_kk_ptase", + "rate":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kkpp" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kkpp", + "right":0 + }, + "right":{ + "op":"<", + "left":"kkpp_ptase", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kkpp" + }, + "right":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kkpp" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkpp_ptase", + "value":{ + "op":"+", + "left":"kkpp_ptase", + "right":1 + } + }, + { + "ref":"kkpp", + "value":{ + "op":"-", + "left":"kkpp", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"d_kk_ptase", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kkpp_ptase" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"<", + "left":"kkpp", + "right":"N" + }, + "right":{ + "op":">", + "left":"kkpp_ptase", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kkpp_ptase" + }, + "right":{ + "op":"*", + "left":150, + "right":"kkpp_ptase" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkpp_ptase", + "value":{ + "op":"-", + "left":"kkpp_ptase", + "right":1 + } + }, + { + "ref":"kkpp", + "value":{ + "op":"+", + "left":"kkpp", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"k_kk_ptase", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kkpp_ptase" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kkpp_ptase", + "right":0 + }, + "right":{ + "op":"<", + "left":"kkp", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kkpp_ptase" + }, + "right":{ + "op":"*", + "left":150, + "right":"kkpp_ptase" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkpp_ptase", + "value":{ + "op":"-", + "left":"kkpp_ptase", + "right":1 + } + }, + { + "ref":"kkp", + "value":{ + "op":"+", + "left":"kkp", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"a_k_kk", + "rate":{ + "exp":"kkpp" + }, + "guard":{ + "exp":{ + "op":">", + "left":"kkpp", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"kkpp", + "right":"kkpp" + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkpp", + "value":{ + "op":"-", + "left":"kkpp", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"d_k_kk", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"kkpp", + "right":"N" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkpp", + "value":{ + "op":"+", + "left":"kkpp", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"k_k_kk", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"kkpp", + "right":"N" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkpp", + "value":{ + "op":"+", + "left":"kkpp", + "right":1 + } + } + ] + } + ] + } + ] + }, + { + "name":"MAPKKK", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"a_kkk_e1", + "rate":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kkk" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kkk", + "right":0 + }, + "right":{ + "op":"<", + "left":"kkk_e1", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kkk" + }, + "right":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kkk" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkk_e1", + "value":{ + "op":"+", + "left":"kkk_e1", + "right":1 + } + }, + { + "ref":"kkk", + "value":{ + "op":"-", + "left":"kkk", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"d_kkk_e1", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kkk_e1" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"<", + "left":"kkk", + "right":"N" + }, + "right":{ + "op":">", + "left":"kkk_e1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kkk_e1" + }, + "right":{ + "op":"*", + "left":150, + "right":"kkk_e1" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkk_e1", + "value":{ + "op":"-", + "left":"kkk_e1", + "right":1 + } + }, + { + "ref":"kkk", + "value":{ + "op":"+", + "left":"kkk", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"k_kkk_e1", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kkk_e1" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kkk_e1", + "right":0 + }, + "right":{ + "op":"<", + "left":"kkkp", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kkk_e1" + }, + "right":{ + "op":"*", + "left":150, + "right":"kkk_e1" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkk_e1", + "value":{ + "op":"-", + "left":"kkk_e1", + "right":1 + } + }, + { + "ref":"kkkp", + "value":{ + "op":"+", + "left":"kkkp", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"a_kkk_e2", + "rate":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kkkp" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kkkp", + "right":0 + }, + "right":{ + "op":"<", + "left":"kkkp_e2", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kkkp" + }, + "right":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":"N" + }, + "right":"kkkp" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkkp_e2", + "value":{ + "op":"+", + "left":"kkkp_e2", + "right":1 + } + }, + { + "ref":"kkkp", + "value":{ + "op":"-", + "left":"kkkp", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"d_kkk_e2", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kkkp_e2" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"<", + "left":"kkkp", + "right":"N" + }, + "right":{ + "op":">", + "left":"kkkp_e2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kkkp_e2" + }, + "right":{ + "op":"*", + "left":150, + "right":"kkkp_e2" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkkp_e2", + "value":{ + "op":"-", + "left":"kkkp_e2", + "right":1 + } + }, + { + "ref":"kkkp", + "value":{ + "op":"+", + "left":"kkkp", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"k_kkk_e2", + "rate":{ + "exp":{ + "op":"*", + "left":150, + "right":"kkkp_e2" + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"kkkp_e2", + "right":0 + }, + "right":{ + "op":"<", + "left":"kkk", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":150, + "right":"kkkp_e2" + }, + "right":{ + "op":"*", + "left":150, + "right":"kkkp_e2" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkkp_e2", + "value":{ + "op":"-", + "left":"kkkp_e2", + "right":1 + } + }, + { + "ref":"kkk", + "value":{ + "op":"+", + "left":"kkk", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"a_kk_kkk", + "rate":{ + "exp":"kkkp" + }, + "guard":{ + "exp":{ + "op":">", + "left":"kkkp", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"kkkp", + "right":"kkkp" + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkkp", + "value":{ + "op":"-", + "left":"kkkp", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"d_kk_kkk", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"kkkp", + "right":"N" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkkp", + "value":{ + "op":"+", + "left":"kkkp", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"k_kk_kkk", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"kkkp", + "right":"N" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkkp", + "value":{ + "op":"+", + "left":"kkkp", + "right":1 + } + } + ] + } + ] + } + ] + }, + { + "name":"E2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"a_kkk_e2", + "rate":{ + "exp":"e2" + }, + "guard":{ + "exp":{ + "op":">", + "left":"e2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"e2", + "right":"e2" + } + }, + "location":"location", + "assignments":[ + { + "ref":"e2", + "value":{ + "op":"-", + "left":"e2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"d_kkk_e2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"e2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"e2", + "value":{ + "op":"+", + "left":"e2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"k_kkk_e2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"e2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"e2", + "value":{ + "op":"+", + "left":"e2", + "right":1 + } + } + ] + } + ] + } + ] + }, + { + "name":"KKPTASE", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"a_kk_ptase", + "rate":{ + "exp":"kkptase" + }, + "guard":{ + "exp":{ + "op":">", + "left":"kkptase", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"kkptase", + "right":"kkptase" + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkptase", + "value":{ + "op":"-", + "left":"kkptase", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"d_kk_ptase", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"kkptase", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkptase", + "value":{ + "op":"+", + "left":"kkptase", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"k_kk_ptase", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"kkptase", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"kkptase", + "value":{ + "op":"+", + "left":"kkptase", + "right":1 + } + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"E1" + }, + { + "automaton":"KPTASE" + }, + { + "automaton":"MAPK" + }, + { + "automaton":"MAPKK" + }, + { + "automaton":"MAPKKK" + }, + { + "automaton":"E2" + }, + { + "automaton":"KKPTASE" + } + ], + "syncs":[ + { + "synchronise":[ + null, + null, + null, + "a_kk_ptase", + null, + null, + "a_kk_ptase" + ], + "result":"a_kk_ptase" + }, + { + "synchronise":[ + null, + null, + null, + "d_kk_ptase", + null, + null, + "d_kk_ptase" + ], + "result":"d_kk_ptase" + }, + { + "synchronise":[ + null, + null, + null, + "k_kk_ptase", + null, + null, + "k_kk_ptase" + ], + "result":"k_kk_ptase" + }, + { + "synchronise":[ + null, + null, + null, + null, + "a_kkk_e2", + "a_kkk_e2", + null + ], + "result":"a_kkk_e2" + }, + { + "synchronise":[ + null, + null, + null, + null, + "d_kkk_e2", + "d_kkk_e2", + null + ], + "result":"d_kkk_e2" + }, + { + "synchronise":[ + null, + null, + null, + null, + "k_kkk_e2", + "k_kkk_e2", + null + ], + "result":"k_kkk_e2" + }, + { + "synchronise":[ + "a_kkk_e1", + null, + null, + null, + "a_kkk_e1", + null, + null + ], + "result":"a_kkk_e1" + }, + { + "synchronise":[ + "d_kkk_e1", + null, + null, + null, + "d_kkk_e1", + null, + null + ], + "result":"d_kkk_e1" + }, + { + "synchronise":[ + "k_kkk_e1", + null, + null, + null, + "k_kkk_e1", + null, + null + ], + "result":"k_kkk_e1" + }, + { + "synchronise":[ + null, + null, + null, + "a_kk_kkk", + "a_kk_kkk", + null, + null + ], + "result":"a_kk_kkk" + }, + { + "synchronise":[ + null, + null, + null, + "d_kk_kkk", + "d_kk_kkk", + null, + null + ], + "result":"d_kk_kkk" + }, + { + "synchronise":[ + null, + null, + null, + "k_kk_kkk", + "k_kk_kkk", + null, + null + ], + "result":"k_kk_kkk" + }, + { + "synchronise":[ + null, + null, + "a_k_kk", + "a_k_kk", + null, + null, + null + ], + "result":"a_k_kk" + }, + { + "synchronise":[ + null, + null, + "d_k_kk", + "d_k_kk", + null, + null, + null + ], + "result":"d_k_kk" + }, + { + "synchronise":[ + null, + null, + "k_k_kk", + "k_k_kk", + null, + null, + null + ], + "result":"k_k_kk" + }, + { + "synchronise":[ + null, + "a_k_ptase", + "a_k_ptase", + null, + null, + null, + null + ], + "result":"a_k_ptase" + }, + { + "synchronise":[ + null, + "d_k_ptase", + "d_k_ptase", + null, + null, + null, + null + ], + "result":"d_k_ptase" + }, + { + "synchronise":[ + null, + "k_k_ptase", + "k_k_ptase", + null, + null, + null, + null + ], + "result":"k_k_ptase" + } + ] + } +} diff --git a/examples/exported-jani-models/mc.jani b/examples/exported-jani-models/mc.jani new file mode 100644 index 000000000..cdb2bb995 --- /dev/null +++ b/examples/exported-jani-models/mc.jani @@ -0,0 +1,722 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"e1" + }, + { + "name":"e2" + }, + { + "name":"e3" + }, + { + "name":"e4" + } + ], + "constants":[ + { + "name":"N1", + "type":"int" + }, + { + "name":"N2", + "type":"int" + } + ], + "variables":[ + { + "name":"cl", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N2" + } + }, + { + "name":"mg", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N1" + } + }, + { + "name":"mg_p", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N1" + } + }, + { + "name":"dummy", + "type":"bool" + } + ], + "observables":[ + { + "name":"\"percentage_mg\"" + }, + { + "name":"\"percentage_mgplus\"" + }, + { + "name":"\"percentage_mgplus2\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"cl", + "right":"N2" + }, + "right":{ + "op":"=", + "left":"mg", + "right":"N1" + } + }, + "right":{ + "op":"=", + "left":"mg_p", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"dummy", + "right":false + } + } + }, + "automata":[ + { + "name":"cl", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"percentage_mg\"", + "value":{ + "op":"/", + "left":{ + "op":"*", + "left":100, + "right":"mg" + }, + "right":"N1" + } + }, + { + "ref":"\"percentage_mgplus\"", + "value":{ + "op":"/", + "left":{ + "op":"*", + "left":100, + "right":"mg_p" + }, + "right":"N1" + } + }, + { + "ref":"\"percentage_mgplus2\"", + "value":{ + "op":"max", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":100, + "right":{ + "op":"-", + "left":"N1", + "right":{ + "op":"+", + "left":"mg_p", + "right":"mg" + } + } + }, + "right":"N1" + }, + "right":0 + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e1", + "rate":{ + "exp":"cl" + }, + "guard":{ + "exp":{ + "op":">", + "left":"cl", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cl", + "right":"cl" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cl", + "value":{ + "op":"-", + "left":"cl", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e2", + "rate":{ + "exp":"cl" + }, + "guard":{ + "exp":{ + "op":">", + "left":"cl", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cl", + "right":"cl" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cl", + "value":{ + "op":"-", + "left":"cl", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e3", + "rate":{ + "exp":{ + "op":"-", + "left":"N2", + "right":"cl" + } + }, + "guard":{ + "exp":{ + "op":"<", + "left":"cl", + "right":"N2" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":"N2", + "right":"cl" + }, + "right":{ + "op":"-", + "left":"N2", + "right":"cl" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"cl", + "value":{ + "op":"+", + "left":"cl", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e4", + "rate":{ + "exp":{ + "op":"-", + "left":"N2", + "right":"cl" + } + }, + "guard":{ + "exp":{ + "op":"<", + "left":"cl", + "right":"N2" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":"N2", + "right":"cl" + }, + "right":{ + "op":"-", + "left":"N2", + "right":"cl" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"cl", + "value":{ + "op":"+", + "left":"cl", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"mg", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e1", + "rate":{ + "exp":"mg" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"mg", + "right":0 + }, + "right":{ + "op":"<", + "left":"mg_p", + "right":"N1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"mg", + "right":"mg" + } + }, + "location":"location", + "assignments":[ + { + "ref":"mg", + "value":{ + "op":"-", + "left":"mg", + "right":1 + } + }, + { + "ref":"mg_p", + "value":{ + "op":"+", + "left":"mg_p", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e2", + "rate":{ + "exp":"mg_p" + }, + "guard":{ + "exp":{ + "op":">", + "left":"mg_p", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"mg_p", + "right":"mg_p" + } + }, + "location":"location", + "assignments":[ + { + "ref":"mg_p", + "value":{ + "op":"-", + "left":"mg_p", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e3", + "rate":{ + "exp":"mg_p" + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"mg_p", + "right":0 + }, + "right":{ + "op":"<", + "left":"mg", + "right":"N1" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"mg_p", + "right":"mg_p" + } + }, + "location":"location", + "assignments":[ + { + "ref":"mg", + "value":{ + "op":"+", + "left":"mg", + "right":1 + } + }, + { + "ref":"mg_p", + "value":{ + "op":"-", + "left":"mg_p", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e4", + "rate":{ + "exp":{ + "op":"-", + "left":"N1", + "right":{ + "op":"+", + "left":"mg_p", + "right":"mg" + } + } + }, + "guard":{ + "exp":{ + "op":"<", + "left":{ + "op":"+", + "left":"mg_p", + "right":"mg" + }, + "right":"N1" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":"N1", + "right":{ + "op":"+", + "left":"mg_p", + "right":"mg" + } + }, + "right":{ + "op":"-", + "left":"N1", + "right":{ + "op":"+", + "left":"mg_p", + "right":"mg" + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"mg_p", + "value":{ + "op":"+", + "left":"mg_p", + "right":1 + } + } + ] + } + ] + } + ] + }, + { + "name":"base_rates", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e1", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e2", + "rate":{ + "exp":100 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":100, + "right":100 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e3", + "rate":{ + "exp":50 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":50, + "right":50 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e4", + "rate":{ + "exp":5 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":5, + "right":5 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"cl" + }, + { + "automaton":"mg" + }, + { + "automaton":"base_rates" + } + ], + "syncs":[ + { + "synchronise":[ + "e1", + "e1", + "e1" + ], + "result":"e1" + }, + { + "synchronise":[ + "e2", + "e2", + "e2" + ], + "result":"e2" + }, + { + "synchronise":[ + "e3", + "e3", + "e3" + ], + "result":"e3" + }, + { + "synchronise":[ + "e4", + "e4", + "e4" + ], + "result":"e4" + } + ] + } +} diff --git a/examples/exported-jani-models/mdptt.jani b/examples/exported-jani-models/mdptt.jani new file mode 100644 index 000000000..176d5329b --- /dev/null +++ b/examples/exported-jani-models/mdptt.jani @@ -0,0 +1,4216 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/mutual10.jani b/examples/exported-jani-models/mutual10.jani new file mode 100644 index 000000000..6b4bef6bb --- /dev/null +++ b/examples/exported-jani-models/mutual10.jani @@ -0,0 +1,37725 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/mutual3.jani b/examples/exported-jani-models/mutual3.jani new file mode 100644 index 000000000..176d5329b --- /dev/null +++ b/examples/exported-jani-models/mutual3.jani @@ -0,0 +1,4216 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/mutual4.jani b/examples/exported-jani-models/mutual4.jani new file mode 100644 index 000000000..09af1ac92 --- /dev/null +++ b/examples/exported-jani-models/mutual4.jani @@ -0,0 +1,6969 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/mutual5.jani b/examples/exported-jani-models/mutual5.jani new file mode 100644 index 000000000..d1bfb08de --- /dev/null +++ b/examples/exported-jani-models/mutual5.jani @@ -0,0 +1,10400 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/mutual8.jani b/examples/exported-jani-models/mutual8.jani new file mode 100644 index 000000000..965aa0d2f --- /dev/null +++ b/examples/exported-jani-models/mutual8.jani @@ -0,0 +1,24761 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":14 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":15 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":15 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":10 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":15 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":7 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":7 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":8 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":8 + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":7 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":8 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":11 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":13 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":13 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":13 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":14 + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":14 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/nacl.jani b/examples/exported-jani-models/nacl.jani new file mode 100644 index 000000000..305e99703 --- /dev/null +++ b/examples/exported-jani-models/nacl.jani @@ -0,0 +1,373 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"e1" + }, + { + "name":"e2" + } + ], + "constants":[ + { + "name":"N1", + "type":"int" + }, + { + "name":"N2", + "type":"int" + } + ], + "variables":[ + { + "name":"na", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N1" + } + }, + { + "name":"cl", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N2" + } + } + ], + "observables":[ + { + "name":"\"percentage_na\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"na", + "right":"N1" + }, + "right":{ + "op":"=", + "left":"cl", + "right":"N2" + } + } + }, + "automata":[ + { + "name":"na", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"percentage_na\"", + "value":{ + "op":"/", + "left":{ + "op":"*", + "left":100, + "right":"na" + }, + "right":"N1" + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e1", + "rate":{ + "exp":"na" + }, + "guard":{ + "exp":{ + "op":">", + "left":"na", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"na", + "right":"na" + } + }, + "location":"location", + "assignments":[ + { + "ref":"na", + "value":{ + "op":"-", + "left":"na", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e2", + "rate":{ + "exp":{ + "op":"-", + "left":"N1", + "right":"na" + } + }, + "guard":{ + "exp":{ + "op":"<", + "left":"na", + "right":"N1" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":"N1", + "right":"na" + }, + "right":{ + "op":"-", + "left":"N1", + "right":"na" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"na", + "value":{ + "op":"+", + "left":"na", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"cl", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e1", + "rate":{ + "exp":"cl" + }, + "guard":{ + "exp":{ + "op":">", + "left":"cl", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"cl", + "right":"cl" + } + }, + "location":"location", + "assignments":[ + { + "ref":"cl", + "value":{ + "op":"-", + "left":"cl", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e2", + "rate":{ + "exp":{ + "op":"-", + "left":"N2", + "right":"cl" + } + }, + "guard":{ + "exp":{ + "op":"<", + "left":"cl", + "right":"N2" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":"N2", + "right":"cl" + }, + "right":{ + "op":"-", + "left":"N2", + "right":"cl" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"cl", + "value":{ + "op":"+", + "left":"cl", + "right":1 + } + } + ] + } + ] + } + ] + }, + { + "name":"base_rates", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e1", + "rate":{ + "exp":100 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":100, + "right":100 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e2", + "rate":{ + "exp":10 + }, + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":10, + "right":10 + } + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"na" + }, + { + "automaton":"cl" + }, + { + "automaton":"base_rates" + } + ], + "syncs":[ + { + "synchronise":[ + "e1", + "e1", + "e1" + ], + "result":"e1" + }, + { + "synchronise":[ + "e2", + "e2", + "e2" + ], + "result":"e2" + } + ] + } +} diff --git a/examples/exported-jani-models/nand.jani b/examples/exported-jani-models/nand.jani new file mode 100644 index 000000000..31f576bf7 --- /dev/null +++ b/examples/exported-jani-models/nand.jani @@ -0,0 +1,1013 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"N", + "type":"int" + }, + { + "name":"K", + "type":"int" + } + ], + "variables":[ + { + "name":"u", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"+", + "left":{ + "op":"*", + "left":2, + "right":"K" + }, + "right":1 + } + } + }, + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"z", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"zx", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"zy", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"N" + } + }, + { + "name":"x", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"y", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"u", + "right":1 + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"z", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"zx", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"zy", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":0 + } + } + }, + "automata":[ + { + "name":"multiplex", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":0 + }, + "right":{ + "op":"=", + "left":"c", + "right":"N" + } + }, + "right":{ + "op":"=", + "left":"u", + "right":{ + "op":"+", + "left":{ + "op":"*", + "left":2, + "right":"K" + }, + "right":1 + } + } + }, + { + "op":"/", + "left":"z", + "right":"N" + }, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":0 + }, + "right":{ + "op":"<", + "left":"c", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":0 + }, + "right":{ + "op":"=", + "left":"c", + "right":"N" + } + }, + "right":{ + "op":"<", + "left":"u", + "right":{ + "op":"+", + "left":{ + "op":"*", + "left":2, + "right":"K" + }, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"zx", + "value":"z" + }, + { + "ref":"zy", + "value":"z" + }, + { + "ref":"z", + "value":0 + }, + { + "ref":"u", + "value":{ + "op":"+", + "left":"u", + "right":1 + } + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":0 + }, + "right":{ + "op":"=", + "left":"c", + "right":"N" + } + }, + "right":{ + "op":"=", + "left":"u", + "right":{ + "op":"+", + "left":{ + "op":"*", + "left":2, + "right":"K" + }, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":4 + }, + { + "ref":"zx", + "value":0 + }, + { + "ref":"zy", + "value":0 + }, + { + "ref":"x", + "value":0 + }, + { + "ref":"y", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"u", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.9000000 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":1 + }, + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.9000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":0 + }, + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":">", + "left":"u", + "right":1 + } + }, + "right":{ + "op":">", + "left":"zx", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":1 + }, + { + "ref":"s", + "value":2 + }, + { + "ref":"zx", + "value":{ + "op":"-", + "left":"zx", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":">", + "left":"u", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"zx", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":0 + }, + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"u", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.9000000 + }, + "location":"location", + "assignments":[ + { + "ref":"y", + "value":1 + }, + { + "ref":"s", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.9000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"y", + "value":0 + }, + { + "ref":"s", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":">", + "left":"u", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"zy", + "right":{ + "op":"-", + "left":"N", + "right":"c" + } + } + }, + "right":{ + "op":">", + "left":"zy", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":"zy", + "right":{ + "op":"-", + "left":"N", + "right":"c" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"y", + "value":1 + }, + { + "ref":"s", + "value":3 + }, + { + "ref":"zy", + "value":{ + "op":"-", + "left":"zy", + "right":1 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"zy", + "right":{ + "op":"-", + "left":"N", + "right":"c" + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"y", + "value":0 + }, + { + "ref":"s", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":">", + "left":"u", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"zy", + "right":{ + "op":"-", + "left":"N", + "right":"c" + } + } + }, + "right":{ + "op":"<", + "left":"c", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y", + "value":1 + }, + { + "ref":"s", + "value":3 + }, + { + "ref":"zy", + "value":{ + "op":"-", + "left":"zy", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":">", + "left":"u", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"zy", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"y", + "value":0 + }, + { + "ref":"s", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"<", + "left":"z", + "right":"N" + } + }, + "right":{ + "op":"<", + "left":"c", + "right":"N" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.0200000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"z", + "value":{ + "op":"+", + "left":"z", + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"*", + "left":"x", + "right":"y" + } + } + } + }, + { + "ref":"s", + "value":0 + }, + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + }, + { + "ref":"x", + "value":0 + }, + { + "ref":"y", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0200000 + }, + "location":"location", + "assignments":[ + { + "ref":"z", + "value":{ + "op":"+", + "left":"z", + "right":{ + "op":"*", + "left":"x", + "right":"y" + } + } + }, + { + "ref":"s", + "value":0 + }, + { + "ref":"c", + "value":{ + "op":"+", + "left":"c", + "right":1 + } + }, + { + "ref":"x", + "value":0 + }, + { + "ref":"y", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"multiplex" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/negotiation.jani b/examples/exported-jani-models/negotiation.jani new file mode 100644 index 000000000..0c515a4ba --- /dev/null +++ b/examples/exported-jani-models/negotiation.jani @@ -0,0 +1,3906 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"tau__" + }, + { + "name":"BID" + }, + { + "name":"CBID" + }, + { + "name":"PURCHASE" + }, + { + "name":"STOP" + } + ], + "variables":[ + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"bid", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":1000 + } + }, + { + "name":"tb", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":50 + } + }, + { + "name":"Bcon", + "type":"bool" + }, + { + "name":"Bstop", + "type":"bool" + }, + { + "name":"Bswitch", + "type":"bool" + }, + { + "name":"Bagreed", + "type":"bool" + }, + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"cbid", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":1000 + } + }, + { + "name":"ts", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":50 + } + }, + { + "name":"Scon", + "type":"bool" + }, + { + "name":"Sstop", + "type":"bool" + }, + { + "name":"Sswitch", + "type":"bool" + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":0 + }, + "right":{ + "op":"=", + "left":"bid", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"tb", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"Bcon", + "right":false + } + }, + "right":{ + "op":"=", + "left":"Bstop", + "right":false + } + }, + "right":{ + "op":"=", + "left":"Bswitch", + "right":false + } + }, + "right":{ + "op":"=", + "left":"Bagreed", + "right":false + } + }, + "right":{ + "op":"=", + "left":"s", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"cbid", + "right":1000 + } + }, + "right":{ + "op":"=", + "left":"ts", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"Scon", + "right":true + } + }, + "right":{ + "op":"=", + "left":"Sstop", + "right":false + } + }, + "right":{ + "op":"=", + "left":"Sswitch", + "right":false + } + } + }, + "automata":[ + { + "name":"Buyer", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":0 + }, + "right":{ + "op":"¬", + "exp":"Bswitch" + } + }, + "right":"Bcon" + }, + "right":{ + "op":">", + "left":{ + "op":"-", + "left":1000, + "right":"bid" + }, + "right":{ + "op":"*", + "left":1, + "right":100 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":0 + }, + "right":{ + "op":"¬", + "exp":"Bswitch" + } + }, + "right":{ + "op":"¬", + "exp":"Bcon" + } + }, + "right":{ + "op":"<", + "left":"tb", + "right":20 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":0 + }, + "right":"Bswitch" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":0 + }, + "right":{ + "op":"¬", + "exp":"Bswitch" + } + }, + "right":"Bcon" + }, + "right":{ + "op":"≤", + "left":{ + "op":"-", + "left":1000, + "right":"bid" + }, + "right":{ + "op":"*", + "left":1, + "right":100 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + }, + { + "ref":"Bcon", + "value":false + }, + { + "ref":"Bswitch", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":0 + }, + "right":{ + "op":"¬", + "exp":"Bswitch" + } + }, + "right":{ + "op":"¬", + "exp":"Bcon" + } + }, + "right":{ + "op":"=", + "left":"tb", + "right":20 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + }, + { + "ref":"Bcon", + "value":true + }, + { + "ref":"Bswitch", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"BID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":"Sstop" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"BID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"=", + "left":"tb", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"Sstop" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":6 + }, + { + "ref":"tb", + "value":{ + "op":"+", + "left":"tb", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"BID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":"Bcon" + }, + "right":{ + "op":">", + "left":"tb", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"tb", + "right":{ + "op":"-", + "left":50, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":{ + "op":"-", + "left":1000, + "right":"bid" + }, + "right":100 + } + }, + "right":{ + "op":"¬", + "exp":"Sstop" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":6 + }, + { + "ref":"bid", + "value":{ + "op":"+", + "left":"bid", + "right":100 + } + }, + { + "ref":"tb", + "value":{ + "op":"+", + "left":"tb", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"BID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"Bcon" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":">", + "left":"tb", + "right":0 + }, + "right":{ + "op":"<", + "left":"tb", + "right":{ + "op":"-", + "left":50, + "right":1 + } + } + } + }, + "right":{ + "op":">", + "left":{ + "op":"-", + "left":1000, + "right":"bid" + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":"Sstop" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":6 + }, + { + "ref":"bid", + "value":{ + "op":"+", + "left":"bid", + "right":1 + } + }, + { + "ref":"tb", + "value":{ + "op":"+", + "left":"tb", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"BID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":">", + "left":"tb", + "right":0 + } + }, + "right":"Bcon" + }, + "right":{ + "op":"¬", + "exp":"Sstop" + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"tb", + "right":{ + "op":"-", + "left":50, + "right":1 + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"-", + "left":1000, + "right":"bid" + }, + "right":100 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":6 + }, + { + "ref":"bid", + "value":1000 + }, + { + "ref":"tb", + "value":{ + "op":"+", + "left":"tb", + "right":1 + } + }, + { + "ref":"Bstop", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"BID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":1 + }, + "right":{ + "op":">", + "left":"tb", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"Bcon" + } + }, + "right":{ + "op":"¬", + "exp":"Sstop" + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"tb", + "right":{ + "op":"-", + "left":50, + "right":1 + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"-", + "left":1000, + "right":"bid" + }, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":6 + }, + { + "ref":"bid", + "value":1000 + }, + { + "ref":"tb", + "value":{ + "op":"+", + "left":"tb", + "right":1 + } + }, + { + "ref":"Bstop", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":6 + }, + "right":{ + "op":"¬", + "exp":"Bswitch" + } + }, + "right":"Bcon" + }, + "right":{ + "op":">", + "left":{ + "op":"-", + "left":1000, + "right":"bid" + }, + "right":{ + "op":"*", + "left":1, + "right":100 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":6 + }, + "right":{ + "op":"¬", + "exp":"Bswitch" + } + }, + "right":{ + "op":"¬", + "exp":"Bcon" + } + }, + "right":{ + "op":"<", + "left":"tb", + "right":20 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":6 + }, + "right":"Bswitch" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":6 + }, + "right":{ + "op":"¬", + "exp":"Bswitch" + } + }, + "right":"Bcon" + }, + "right":{ + "op":"≤", + "left":{ + "op":"-", + "left":1000, + "right":"bid" + }, + "right":{ + "op":"*", + "left":1, + "right":100 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + }, + { + "ref":"Bcon", + "value":false + }, + { + "ref":"Bswitch", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":6 + }, + "right":{ + "op":"¬", + "exp":"Bswitch" + } + }, + "right":{ + "op":"¬", + "exp":"Bcon" + } + }, + "right":{ + "op":"=", + "left":"tb", + "right":20 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + }, + { + "ref":"Bcon", + "value":true + }, + { + "ref":"Bswitch", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"=", + "left":"s", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":3 + }, + { + "ref":"Bagreed", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"CBID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":{ + "op":"¬", + "exp":"Bstop" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"CBID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":2 + }, + "right":"Bstop" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"PURCHASE", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":4 + }, + "right":"Bcon" + }, + "right":{ + "op":"<", + "left":"tb", + "right":{ + "op":"-", + "left":50, + "right":1 + } + } + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"bid", + "right":100 + }, + "right":"cbid" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":4 + }, + "right":"Bcon" + }, + "right":{ + "op":"=", + "left":"tb", + "right":{ + "op":"-", + "left":50, + "right":1 + } + } + }, + "right":{ + "op":"≥", + "left":1000, + "right":"cbid" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":4 + }, + "right":"Bcon" + }, + "right":{ + "op":"¬", + "exp":"Sstop" + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"<", + "left":"tb", + "right":{ + "op":"-", + "left":50, + "right":1 + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"bid", + "right":100 + }, + "right":"cbid" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"tb", + "right":{ + "op":"-", + "left":50, + "right":1 + } + }, + "right":{ + "op":"<", + "left":1000, + "right":"cbid" + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"max", + "left":0, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"-", + "left":"cbid", + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":1000, + "right":1 + }, + "right":10000 + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"max", + "left":0, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"-", + "left":"cbid", + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":1000, + "right":1 + }, + "right":10000 + } + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":4 + }, + "right":"Bcon" + }, + "right":"Sstop" + }, + "right":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"<", + "left":"tb", + "right":{ + "op":"-", + "left":50, + "right":1 + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"bid", + "right":100 + }, + "right":"cbid" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"tb", + "right":{ + "op":"-", + "left":50, + "right":1 + } + }, + "right":{ + "op":"<", + "left":1000, + "right":"cbid" + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"max", + "left":0, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"-", + "left":"cbid", + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":1000, + "right":1 + }, + "right":10000 + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"max", + "left":0, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"-", + "left":"cbid", + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":1000, + "right":1 + }, + "right":10000 + } + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":4 + }, + "right":{ + "op":"¬", + "exp":"Bcon" + } + }, + "right":{ + "op":"<", + "left":"tb", + "right":{ + "op":"-", + "left":50, + "right":1 + } + } + }, + "right":{ + "op":"≥", + "left":{ + "op":"+", + "left":"bid", + "right":1 + }, + "right":"cbid" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":4 + }, + "right":{ + "op":"¬", + "exp":"Bcon" + } + }, + "right":{ + "op":"=", + "left":"tb", + "right":{ + "op":"-", + "left":50, + "right":1 + } + } + }, + "right":{ + "op":"≥", + "left":1000, + "right":"cbid" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":4 + }, + "right":{ + "op":"¬", + "exp":"Bcon" + } + }, + "right":{ + "op":"¬", + "exp":"Sstop" + } + }, + "right":{ + "op":"<", + "left":"tb", + "right":{ + "op":"-", + "left":50, + "right":1 + } + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"bid", + "right":1 + }, + "right":"cbid" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"max", + "left":0, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"-", + "left":"cbid", + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":1000, + "right":1 + }, + "right":10000 + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"max", + "left":0, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"-", + "left":"cbid", + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":1000, + "right":1 + }, + "right":10000 + } + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b", + "right":4 + }, + "right":{ + "op":"¬", + "exp":"Bcon" + } + }, + "right":{ + "op":"=", + "left":"Sstop", + "right":true + } + }, + "right":{ + "op":"<", + "left":"tb", + "right":{ + "op":"-", + "left":50, + "right":1 + } + } + }, + "right":{ + "op":"<", + "left":{ + "op":"+", + "left":"bid", + "right":1 + }, + "right":"cbid" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"max", + "left":0, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"-", + "left":"cbid", + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":1000, + "right":1 + }, + "right":10000 + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"max", + "left":0, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"-", + "left":"cbid", + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":1000, + "right":1 + }, + "right":10000 + } + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"STOP", + "guard":{ + "exp":{ + "op":"=", + "left":"b", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":5 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"Seller", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"BID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":0 + }, + "right":{ + "op":"¬", + "exp":"Bstop" + } + }, + "right":{ + "op":"¬", + "exp":"Sstop" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"BID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":0 + }, + "right":{ + "op":"∨", + "left":"Bstop", + "right":"Sstop" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":"Scon" + }, + "right":{ + "op":"≤", + "left":{ + "op":"-", + "left":"cbid", + "right":100 + }, + "right":"bid" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":"Scon" + }, + "right":{ + "op":"¬", + "exp":"Bstop" + } + }, + "right":{ + "op":">", + "left":{ + "op":"-", + "left":"cbid", + "right":100 + }, + "right":"bid" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"max", + "left":0, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"+", + "left":"bid", + "right":10000 + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"max", + "left":0, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"+", + "left":"bid", + "right":10000 + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":"Scon" + }, + "right":"Bstop" + }, + "right":{ + "op":">", + "left":{ + "op":"-", + "left":"cbid", + "right":100 + }, + "right":"bid" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"max", + "left":0, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"+", + "left":"bid", + "right":10000 + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"max", + "left":0, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"+", + "left":"bid", + "right":10000 + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"Scon" + } + }, + "right":{ + "op":"<", + "left":"ts", + "right":{ + "op":"-", + "left":50, + "right":1 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"-", + "left":"cbid", + "right":1 + }, + "right":"bid" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"Scon" + } + }, + "right":{ + "op":"=", + "left":"ts", + "right":{ + "op":"-", + "left":50, + "right":1 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"-", + "left":"cbid", + "right":1 + }, + "right":"bid" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"Scon" + } + }, + "right":{ + "op":"¬", + "exp":"Bstop" + } + }, + "right":{ + "op":">", + "left":{ + "op":"-", + "left":"cbid", + "right":1 + }, + "right":"bid" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"max", + "left":0, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"+", + "left":"bid", + "right":10000 + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"max", + "left":0, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"+", + "left":"bid", + "right":10000 + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"¬", + "exp":"Scon" + } + }, + "right":"Bstop" + }, + "right":{ + "op":">", + "left":{ + "op":"-", + "left":"cbid", + "right":1 + }, + "right":"bid" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"max", + "left":0, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"+", + "left":"bid", + "right":10000 + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"max", + "left":0, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":{ + "op":"+", + "left":1, + "right":10000 + }, + "right":{ + "op":"+", + "left":"bid", + "right":10000 + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"PURCHASE", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"¬", + "exp":"Sswitch" + } + }, + "right":"Scon" + }, + "right":{ + "op":">", + "left":{ + "op":"-", + "left":"cbid", + "right":1 + }, + "right":{ + "op":"*", + "left":8, + "right":100 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"¬", + "exp":"Sswitch" + } + }, + "right":{ + "op":"¬", + "exp":"Scon" + } + }, + "right":{ + "op":"<", + "left":"ts", + "right":48 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":"Sswitch" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"¬", + "exp":"Sswitch" + } + }, + "right":"Scon" + }, + "right":{ + "op":"≤", + "left":{ + "op":"-", + "left":"cbid", + "right":1 + }, + "right":{ + "op":"*", + "left":8, + "right":100 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":3 + }, + { + "ref":"Scon", + "value":false + }, + { + "ref":"Sswitch", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"¬", + "exp":"Sswitch" + } + }, + "right":{ + "op":"¬", + "exp":"Scon" + } + }, + "right":{ + "op":"=", + "left":"ts", + "right":48 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":3 + }, + { + "ref":"Scon", + "value":true + }, + { + "ref":"Sswitch", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"CBID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":"Bstop" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"CBID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"ts", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"Bstop" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":7 + }, + { + "ref":"ts", + "value":{ + "op":"+", + "left":"ts", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"CBID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":"Scon" + }, + "right":{ + "op":"¬", + "exp":"Bstop" + } + }, + "right":{ + "op":">", + "left":"ts", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"ts", + "right":{ + "op":"-", + "left":50, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":{ + "op":"-", + "left":"cbid", + "right":1 + }, + "right":100 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":7 + }, + { + "ref":"cbid", + "value":{ + "op":"-", + "left":"cbid", + "right":100 + } + }, + { + "ref":"ts", + "value":{ + "op":"+", + "left":"ts", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"CBID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"¬", + "exp":"Scon" + } + }, + "right":{ + "op":"¬", + "exp":"Bstop" + } + }, + "right":{ + "op":">", + "left":"ts", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"ts", + "right":{ + "op":"-", + "left":50, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":{ + "op":"-", + "left":"cbid", + "right":1 + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":7 + }, + { + "ref":"cbid", + "value":{ + "op":"-", + "left":"cbid", + "right":1 + } + }, + { + "ref":"ts", + "value":{ + "op":"+", + "left":"ts", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"CBID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":">", + "left":"ts", + "right":0 + } + }, + "right":"Scon" + }, + "right":{ + "op":"¬", + "exp":"Bstop" + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"ts", + "right":{ + "op":"-", + "left":50, + "right":1 + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"-", + "left":"cbid", + "right":1 + }, + "right":100 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":7 + }, + { + "ref":"cbid", + "value":1 + }, + { + "ref":"ts", + "value":{ + "op":"+", + "left":"ts", + "right":1 + } + }, + { + "ref":"Sstop", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"CBID", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":">", + "left":"ts", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"Scon" + } + }, + "right":{ + "op":"¬", + "exp":"Bstop" + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"ts", + "right":{ + "op":"-", + "left":50, + "right":1 + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"-", + "left":"cbid", + "right":1 + }, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":7 + }, + { + "ref":"cbid", + "value":1 + }, + { + "ref":"ts", + "value":{ + "op":"+", + "left":"ts", + "right":1 + } + }, + { + "ref":"Sstop", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"b", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"b", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"STOP", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"¬", + "exp":"Sswitch" + } + }, + "right":"Scon" + }, + "right":{ + "op":">", + "left":{ + "op":"-", + "left":"cbid", + "right":1 + }, + "right":{ + "op":"*", + "left":8, + "right":100 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"¬", + "exp":"Sswitch" + } + }, + "right":{ + "op":"¬", + "exp":"Scon" + } + }, + "right":{ + "op":"<", + "left":"ts", + "right":48 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":"Sswitch" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"¬", + "exp":"Sswitch" + } + }, + "right":"Scon" + }, + "right":{ + "op":"≤", + "left":{ + "op":"-", + "left":"cbid", + "right":1 + }, + "right":{ + "op":"*", + "left":8, + "right":100 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":4 + }, + { + "ref":"Scon", + "value":false + }, + { + "ref":"Sswitch", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"¬", + "exp":"Sswitch" + } + }, + "right":{ + "op":"¬", + "exp":"Scon" + } + }, + "right":{ + "op":"=", + "left":"ts", + "right":48 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":4 + }, + { + "ref":"Scon", + "value":true + }, + { + "ref":"Sswitch", + "value":true + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"Buyer" + }, + { + "automaton":"Seller" + } + ], + "syncs":[ + { + "synchronise":[ + "BID", + "BID" + ], + "result":"BID" + }, + { + "synchronise":[ + "CBID", + "CBID" + ], + "result":"CBID" + }, + { + "synchronise":[ + "PURCHASE", + "PURCHASE" + ], + "result":"PURCHASE" + }, + { + "synchronise":[ + "STOP", + "STOP" + ], + "result":"STOP" + }, + { + "synchronise":[ + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/optimal_two_dice.jani b/examples/exported-jani-models/optimal_two_dice.jani new file mode 100644 index 000000000..82261e3e0 --- /dev/null +++ b/examples/exported-jani-models/optimal_two_dice.jani @@ -0,0 +1,1654 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":34 + } + }, + { + "name":"d", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":12 + } + } + ], + "observables":[ + { + "name":"\"coin_flips\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":0 + }, + "right":{ + "op":"=", + "left":"d", + "right":0 + } + } + }, + "automata":[ + { + "name":"sum_of_two_dice", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"coin_flips\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"<", + "left":"s", + "right":34 + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":15 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":16 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":17 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":18 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":19 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":14 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":20 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":21 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":16 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":22 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":17 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":23 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":24 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":18 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":25 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":19 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":26 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":20 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":27 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":21 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":22 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":28 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":23 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":29 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":24 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":30 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":25 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":26 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":31 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":27 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":32 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":28 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":29 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":33 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":30 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":31 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":32 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":33 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + }, + { + "ref":"d", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":34 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":34 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"sum_of_two_dice" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/peer2peer4_4.jani b/examples/exported-jani-models/peer2peer4_4.jani new file mode 100644 index 000000000..e838aa088 --- /dev/null +++ b/examples/exported-jani-models/peer2peer4_4.jani @@ -0,0 +1,2194 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b22", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b23", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b24", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b31", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b32", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b33", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b34", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b41", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b42", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b43", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b44", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"frac_rec\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b11", + "right":0 + }, + "right":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b44", + "right":0 + } + } + }, + "automata":[ + { + "name":"client1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"frac_rec\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b12" + }, + "right":"b13" + }, + "right":"b14" + }, + "right":4 + }, + "right":4 + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b22" + }, + "right":"b23" + }, + "right":"b24" + }, + "right":4 + }, + "right":4 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b32" + }, + "right":"b33" + }, + "right":"b34" + }, + "right":4 + }, + "right":4 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b42" + }, + "right":"b43" + }, + "right":"b44" + }, + "right":4 + }, + "right":4 + } + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b14", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b24", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b31", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b32", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b33", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b34", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b41", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b42", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b43", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b44", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"client1" + }, + { + "automaton":"client2" + }, + { + "automaton":"client3" + }, + { + "automaton":"client4" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/peer2peer4_5.jani b/examples/exported-jani-models/peer2peer4_5.jani new file mode 100644 index 000000000..be841095a --- /dev/null +++ b/examples/exported-jani-models/peer2peer4_5.jani @@ -0,0 +1,2702 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b22", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b23", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b24", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b25", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b31", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b32", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b33", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b34", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b35", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b41", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b42", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b43", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b44", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b45", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"frac_rec\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b11", + "right":0 + }, + "right":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b45", + "right":0 + } + } + }, + "automata":[ + { + "name":"client1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"frac_rec\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b12" + }, + "right":"b13" + }, + "right":"b14" + }, + "right":"b15" + }, + "right":5 + }, + "right":4 + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b22" + }, + "right":"b23" + }, + "right":"b24" + }, + "right":"b25" + }, + "right":5 + }, + "right":4 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b32" + }, + "right":"b33" + }, + "right":"b34" + }, + "right":"b35" + }, + "right":5 + }, + "right":4 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b42" + }, + "right":"b43" + }, + "right":"b44" + }, + "right":"b45" + }, + "right":5 + }, + "right":4 + } + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b15", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b24", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b25", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b31", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b32", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b33", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b34", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b35", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b41", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b42", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b43", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b44", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b45", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b45", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"client1" + }, + { + "automaton":"client2" + }, + { + "automaton":"client3" + }, + { + "automaton":"client4" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/peer2peer4_6.jani b/examples/exported-jani-models/peer2peer4_6.jani new file mode 100644 index 000000000..c210046d1 --- /dev/null +++ b/examples/exported-jani-models/peer2peer4_6.jani @@ -0,0 +1,3210 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b22", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b23", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b24", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b25", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b26", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b31", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b32", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b33", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b34", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b35", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b36", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b41", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b42", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b43", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b44", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b45", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b46", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"frac_rec\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b11", + "right":0 + }, + "right":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b16", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b26", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b36", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b45", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b46", + "right":0 + } + } + }, + "automata":[ + { + "name":"client1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"frac_rec\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b12" + }, + "right":"b13" + }, + "right":"b14" + }, + "right":"b15" + }, + "right":"b16" + }, + "right":6 + }, + "right":4 + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b22" + }, + "right":"b23" + }, + "right":"b24" + }, + "right":"b25" + }, + "right":"b26" + }, + "right":6 + }, + "right":4 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b32" + }, + "right":"b33" + }, + "right":"b34" + }, + "right":"b35" + }, + "right":"b36" + }, + "right":6 + }, + "right":4 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b42" + }, + "right":"b43" + }, + "right":"b44" + }, + "right":"b45" + }, + "right":"b46" + }, + "right":6 + }, + "right":4 + } + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b16", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b24", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b25", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b26", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b26", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b31", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b32", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b33", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b34", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b35", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b36", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b36", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b41", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b42", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b43", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b44", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b45", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b45", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b46", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b46", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"client1" + }, + { + "automaton":"client2" + }, + { + "automaton":"client3" + }, + { + "automaton":"client4" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/peer2peer4_7.jani b/examples/exported-jani-models/peer2peer4_7.jani new file mode 100644 index 000000000..f46aaab88 --- /dev/null +++ b/examples/exported-jani-models/peer2peer4_7.jani @@ -0,0 +1,3718 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b22", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b23", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b24", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b25", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b26", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b27", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b31", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b32", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b33", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b34", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b35", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b36", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b37", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b41", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b42", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b43", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b44", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b45", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b46", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b47", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"frac_rec\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b11", + "right":0 + }, + "right":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b16", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b17", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b26", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b27", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b36", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b37", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b45", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b46", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b47", + "right":0 + } + } + }, + "automata":[ + { + "name":"client1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"frac_rec\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b12" + }, + "right":"b13" + }, + "right":"b14" + }, + "right":"b15" + }, + "right":"b16" + }, + "right":"b17" + }, + "right":7 + }, + "right":4 + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b22" + }, + "right":"b23" + }, + "right":"b24" + }, + "right":"b25" + }, + "right":"b26" + }, + "right":"b27" + }, + "right":7 + }, + "right":4 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b32" + }, + "right":"b33" + }, + "right":"b34" + }, + "right":"b35" + }, + "right":"b36" + }, + "right":"b37" + }, + "right":7 + }, + "right":4 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b42" + }, + "right":"b43" + }, + "right":"b44" + }, + "right":"b45" + }, + "right":"b46" + }, + "right":"b47" + }, + "right":7 + }, + "right":4 + } + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b17", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b17", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b17", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b17", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b24", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b25", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b26", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b26", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b27", + "right":"b17" + }, + "right":"b37" + }, + "right":"b47" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b27", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b27", + "right":"b17" + }, + "right":"b37" + }, + "right":"b47" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b27", + "right":"b17" + }, + "right":"b37" + }, + "right":"b47" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b27", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b31", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b32", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b33", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b34", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b35", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b36", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b36", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b37", + "right":"b27" + }, + "right":"b17" + }, + "right":"b47" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b37", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b37", + "right":"b27" + }, + "right":"b17" + }, + "right":"b47" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b37", + "right":"b27" + }, + "right":"b17" + }, + "right":"b47" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b37", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b41", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b42", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b43", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b44", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b45", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b45", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b46", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b46", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b47", + "right":"b27" + }, + "right":"b37" + }, + "right":"b17" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b47", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b47", + "right":"b27" + }, + "right":"b37" + }, + "right":"b17" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b47", + "right":"b27" + }, + "right":"b37" + }, + "right":"b17" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b47", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"client1" + }, + { + "automaton":"client2" + }, + { + "automaton":"client3" + }, + { + "automaton":"client4" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/peer2peer4_8.jani b/examples/exported-jani-models/peer2peer4_8.jani new file mode 100644 index 000000000..84a52df71 --- /dev/null +++ b/examples/exported-jani-models/peer2peer4_8.jani @@ -0,0 +1,4226 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b22", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b23", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b24", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b25", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b26", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b27", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b28", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b31", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b32", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b33", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b34", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b35", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b36", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b37", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b38", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b41", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b42", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b43", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b44", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b45", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b46", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b47", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b48", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"frac_rec\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b11", + "right":0 + }, + "right":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b16", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b17", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b18", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b26", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b27", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b28", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b36", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b37", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b38", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b45", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b46", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b47", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b48", + "right":0 + } + } + }, + "automata":[ + { + "name":"client1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"frac_rec\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b12" + }, + "right":"b13" + }, + "right":"b14" + }, + "right":"b15" + }, + "right":"b16" + }, + "right":"b17" + }, + "right":"b18" + }, + "right":8 + }, + "right":4 + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b22" + }, + "right":"b23" + }, + "right":"b24" + }, + "right":"b25" + }, + "right":"b26" + }, + "right":"b27" + }, + "right":"b28" + }, + "right":8 + }, + "right":4 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b32" + }, + "right":"b33" + }, + "right":"b34" + }, + "right":"b35" + }, + "right":"b36" + }, + "right":"b37" + }, + "right":"b38" + }, + "right":8 + }, + "right":4 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b42" + }, + "right":"b43" + }, + "right":"b44" + }, + "right":"b45" + }, + "right":"b46" + }, + "right":"b47" + }, + "right":"b48" + }, + "right":8 + }, + "right":4 + } + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b17", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b17", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b17", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b17", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b18", + "right":"b28" + }, + "right":"b38" + }, + "right":"b48" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b18", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b18", + "right":"b28" + }, + "right":"b38" + }, + "right":"b48" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b18", + "right":"b28" + }, + "right":"b38" + }, + "right":"b48" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b18", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b24", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b25", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b26", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b26", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b27", + "right":"b17" + }, + "right":"b37" + }, + "right":"b47" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b27", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b27", + "right":"b17" + }, + "right":"b37" + }, + "right":"b47" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b27", + "right":"b17" + }, + "right":"b37" + }, + "right":"b47" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b27", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b28", + "right":"b18" + }, + "right":"b38" + }, + "right":"b48" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b28", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b28", + "right":"b18" + }, + "right":"b38" + }, + "right":"b48" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b28", + "right":"b18" + }, + "right":"b38" + }, + "right":"b48" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b28", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b31", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b32", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b33", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b34", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b35", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b36", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b36", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b37", + "right":"b27" + }, + "right":"b17" + }, + "right":"b47" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b37", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b37", + "right":"b27" + }, + "right":"b17" + }, + "right":"b47" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b37", + "right":"b27" + }, + "right":"b17" + }, + "right":"b47" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b37", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b38", + "right":"b28" + }, + "right":"b18" + }, + "right":"b48" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b38", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b38", + "right":"b28" + }, + "right":"b18" + }, + "right":"b48" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b38", + "right":"b28" + }, + "right":"b18" + }, + "right":"b48" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b38", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b41", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b42", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b43", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b44", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b45", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b45", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b46", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b46", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b47", + "right":"b27" + }, + "right":"b37" + }, + "right":"b17" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b47", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b47", + "right":"b27" + }, + "right":"b37" + }, + "right":"b17" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b47", + "right":"b27" + }, + "right":"b37" + }, + "right":"b17" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b47", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b48", + "right":"b28" + }, + "right":"b38" + }, + "right":"b18" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b48", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b48", + "right":"b28" + }, + "right":"b38" + }, + "right":"b18" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b48", + "right":"b28" + }, + "right":"b38" + }, + "right":"b18" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b48", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"client1" + }, + { + "automaton":"client2" + }, + { + "automaton":"client3" + }, + { + "automaton":"client4" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/peer2peer5_4.jani b/examples/exported-jani-models/peer2peer5_4.jani new file mode 100644 index 000000000..99a2d85cd --- /dev/null +++ b/examples/exported-jani-models/peer2peer5_4.jani @@ -0,0 +1,2980 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b22", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b23", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b24", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b31", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b32", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b33", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b34", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b41", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b42", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b43", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b44", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b51", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b52", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b53", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b54", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"frac_rec\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b11", + "right":0 + }, + "right":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b51", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b52", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b53", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b54", + "right":0 + } + } + }, + "automata":[ + { + "name":"client1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"frac_rec\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b12" + }, + "right":"b13" + }, + "right":"b14" + }, + "right":4 + }, + "right":5 + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b22" + }, + "right":"b23" + }, + "right":"b24" + }, + "right":4 + }, + "right":5 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b32" + }, + "right":"b33" + }, + "right":"b34" + }, + "right":4 + }, + "right":5 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b42" + }, + "right":"b43" + }, + "right":"b44" + }, + "right":4 + }, + "right":5 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b52" + }, + "right":"b53" + }, + "right":"b54" + }, + "right":4 + }, + "right":5 + } + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b14", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b24", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b31", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b32", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b33", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b34", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b41", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b42", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b43", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b44", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b11" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b51", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b11" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b11" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b51", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b52", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b52", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b52", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b12" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b52", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b52", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b53", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b13" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b53", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b53", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b13" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b53", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b13" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b53", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b54", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b14" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b54", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b54", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b14" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b54", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b14" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b54", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"client1" + }, + { + "automaton":"client2" + }, + { + "automaton":"client3" + }, + { + "automaton":"client4" + }, + { + "automaton":"client5" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/peer2peer5_5.jani b/examples/exported-jani-models/peer2peer5_5.jani new file mode 100644 index 000000000..8add9e65b --- /dev/null +++ b/examples/exported-jani-models/peer2peer5_5.jani @@ -0,0 +1,3675 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b22", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b23", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b24", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b25", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b31", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b32", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b33", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b34", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b35", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b41", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b42", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b43", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b44", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b45", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b51", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b52", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b53", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b54", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b55", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"frac_rec\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b11", + "right":0 + }, + "right":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b45", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b51", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b52", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b53", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b54", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b55", + "right":0 + } + } + }, + "automata":[ + { + "name":"client1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"frac_rec\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b12" + }, + "right":"b13" + }, + "right":"b14" + }, + "right":"b15" + }, + "right":5 + }, + "right":5 + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b22" + }, + "right":"b23" + }, + "right":"b24" + }, + "right":"b25" + }, + "right":5 + }, + "right":5 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b32" + }, + "right":"b33" + }, + "right":"b34" + }, + "right":"b35" + }, + "right":5 + }, + "right":5 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b42" + }, + "right":"b43" + }, + "right":"b44" + }, + "right":"b45" + }, + "right":5 + }, + "right":5 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b52" + }, + "right":"b53" + }, + "right":"b54" + }, + "right":"b55" + }, + "right":5 + }, + "right":5 + } + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b15", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b24", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b25", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b31", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b32", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b33", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b34", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b35", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b41", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b42", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b43", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b44", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b45", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b45", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b11" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b51", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b11" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b11" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b51", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b52", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b52", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b52", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b12" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b52", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b52", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b53", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b13" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b53", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b53", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b13" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b53", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b13" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b53", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b54", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b14" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b54", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b54", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b14" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b54", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b14" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b54", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b55", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b15" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b55", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b55", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b15" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b55", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b15" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b55", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"client1" + }, + { + "automaton":"client2" + }, + { + "automaton":"client3" + }, + { + "automaton":"client4" + }, + { + "automaton":"client5" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/peer2peer5_6.jani b/examples/exported-jani-models/peer2peer5_6.jani new file mode 100644 index 000000000..9f47aabab --- /dev/null +++ b/examples/exported-jani-models/peer2peer5_6.jani @@ -0,0 +1,4370 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b22", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b23", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b24", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b25", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b26", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b31", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b32", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b33", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b34", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b35", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b36", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b41", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b42", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b43", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b44", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b45", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b46", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b51", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b52", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b53", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b54", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b55", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b56", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"frac_rec\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b11", + "right":0 + }, + "right":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b16", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b26", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b36", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b45", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b46", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b51", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b52", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b53", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b54", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b55", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b56", + "right":0 + } + } + }, + "automata":[ + { + "name":"client1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"frac_rec\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b12" + }, + "right":"b13" + }, + "right":"b14" + }, + "right":"b15" + }, + "right":"b16" + }, + "right":6 + }, + "right":5 + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b22" + }, + "right":"b23" + }, + "right":"b24" + }, + "right":"b25" + }, + "right":"b26" + }, + "right":6 + }, + "right":5 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b32" + }, + "right":"b33" + }, + "right":"b34" + }, + "right":"b35" + }, + "right":"b36" + }, + "right":6 + }, + "right":5 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b42" + }, + "right":"b43" + }, + "right":"b44" + }, + "right":"b45" + }, + "right":"b46" + }, + "right":6 + }, + "right":5 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b52" + }, + "right":"b53" + }, + "right":"b54" + }, + "right":"b55" + }, + "right":"b56" + }, + "right":6 + }, + "right":5 + } + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b16", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b24", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b25", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b26", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b26", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b31", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b32", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b33", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b34", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b35", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b36", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b36", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b41", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b42", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b43", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b44", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b45", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b45", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + }, + "right":"b56" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b46", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + }, + "right":"b56" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + }, + "right":"b56" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b46", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b11" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b51", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b11" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b11" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b51", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b52", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b52", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b52", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b12" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b52", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b52", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b53", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b13" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b53", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b53", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b13" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b53", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b13" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b53", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b54", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b14" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b54", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b54", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b14" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b54", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b14" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b54", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b55", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b15" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b55", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b55", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b15" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b55", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b15" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b55", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b56", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b16" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b56", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b56", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b16" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b56", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b16" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b56", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"client1" + }, + { + "automaton":"client2" + }, + { + "automaton":"client3" + }, + { + "automaton":"client4" + }, + { + "automaton":"client5" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/peer2peer5_7.jani b/examples/exported-jani-models/peer2peer5_7.jani new file mode 100644 index 000000000..1ae59dc32 --- /dev/null +++ b/examples/exported-jani-models/peer2peer5_7.jani @@ -0,0 +1,5065 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b22", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b23", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b24", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b25", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b26", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b27", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b31", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b32", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b33", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b34", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b35", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b36", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b37", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b41", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b42", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b43", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b44", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b45", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b46", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b47", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b51", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b52", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b53", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b54", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b55", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b56", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b57", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"frac_rec\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b11", + "right":0 + }, + "right":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b16", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b17", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b26", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b27", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b36", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b37", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b45", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b46", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b47", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b51", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b52", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b53", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b54", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b55", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b56", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b57", + "right":0 + } + } + }, + "automata":[ + { + "name":"client1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"frac_rec\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b12" + }, + "right":"b13" + }, + "right":"b14" + }, + "right":"b15" + }, + "right":"b16" + }, + "right":"b17" + }, + "right":7 + }, + "right":5 + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b22" + }, + "right":"b23" + }, + "right":"b24" + }, + "right":"b25" + }, + "right":"b26" + }, + "right":"b27" + }, + "right":7 + }, + "right":5 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b32" + }, + "right":"b33" + }, + "right":"b34" + }, + "right":"b35" + }, + "right":"b36" + }, + "right":"b37" + }, + "right":7 + }, + "right":5 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b42" + }, + "right":"b43" + }, + "right":"b44" + }, + "right":"b45" + }, + "right":"b46" + }, + "right":"b47" + }, + "right":7 + }, + "right":5 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b52" + }, + "right":"b53" + }, + "right":"b54" + }, + "right":"b55" + }, + "right":"b56" + }, + "right":"b57" + }, + "right":7 + }, + "right":5 + } + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b17", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b17", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b17", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b17", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b24", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b25", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b26", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b26", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b27", + "right":"b17" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b27", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b27", + "right":"b17" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b27", + "right":"b17" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b27", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b31", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b32", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b33", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b34", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b35", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b36", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b36", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b37", + "right":"b27" + }, + "right":"b17" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b37", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b37", + "right":"b27" + }, + "right":"b17" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b37", + "right":"b27" + }, + "right":"b17" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b37", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b41", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b42", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b43", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b44", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b45", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b45", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + }, + "right":"b56" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b46", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + }, + "right":"b56" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + }, + "right":"b56" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b46", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b47", + "right":"b27" + }, + "right":"b37" + }, + "right":"b17" + }, + "right":"b57" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b47", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b47", + "right":"b27" + }, + "right":"b37" + }, + "right":"b17" + }, + "right":"b57" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b47", + "right":"b27" + }, + "right":"b37" + }, + "right":"b17" + }, + "right":"b57" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b47", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b11" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b51", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b11" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b11" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b51", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b52", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b52", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b52", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b12" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b52", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b52", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b53", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b13" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b53", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b53", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b13" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b53", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b13" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b53", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b54", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b14" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b54", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b54", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b14" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b54", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b14" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b54", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b55", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b15" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b55", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b55", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b15" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b55", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b15" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b55", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b56", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b16" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b56", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b56", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b16" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b56", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b16" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b56", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b57", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b17" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b57", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b57", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b17" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b57", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b17" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b57", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"client1" + }, + { + "automaton":"client2" + }, + { + "automaton":"client3" + }, + { + "automaton":"client4" + }, + { + "automaton":"client5" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/peer2peer5_8.jani b/examples/exported-jani-models/peer2peer5_8.jani new file mode 100644 index 000000000..e75a8aba3 --- /dev/null +++ b/examples/exported-jani-models/peer2peer5_8.jani @@ -0,0 +1,5760 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"b11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b22", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b23", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b24", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b25", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b26", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b27", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b28", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b31", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b32", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b33", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b34", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b35", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b36", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b37", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b38", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b41", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b42", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b43", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b44", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b45", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b46", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b47", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b48", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b51", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b52", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b53", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b54", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b55", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b56", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b57", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b58", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"frac_rec\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b11", + "right":0 + }, + "right":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b16", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b17", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b18", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b26", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b27", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b28", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b36", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b37", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b38", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b45", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b46", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b47", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b48", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b51", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b52", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b53", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b54", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b55", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b56", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b57", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b58", + "right":0 + } + } + }, + "automata":[ + { + "name":"client1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"frac_rec\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b12" + }, + "right":"b13" + }, + "right":"b14" + }, + "right":"b15" + }, + "right":"b16" + }, + "right":"b17" + }, + "right":"b18" + }, + "right":8 + }, + "right":5 + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b22" + }, + "right":"b23" + }, + "right":"b24" + }, + "right":"b25" + }, + "right":"b26" + }, + "right":"b27" + }, + "right":"b28" + }, + "right":8 + }, + "right":5 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b32" + }, + "right":"b33" + }, + "right":"b34" + }, + "right":"b35" + }, + "right":"b36" + }, + "right":"b37" + }, + "right":"b38" + }, + "right":8 + }, + "right":5 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b42" + }, + "right":"b43" + }, + "right":"b44" + }, + "right":"b45" + }, + "right":"b46" + }, + "right":"b47" + }, + "right":"b48" + }, + "right":8 + }, + "right":5 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"/", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b52" + }, + "right":"b53" + }, + "right":"b54" + }, + "right":"b55" + }, + "right":"b56" + }, + "right":"b57" + }, + "right":"b58" + }, + "right":8 + }, + "right":5 + } + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b11", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b12", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b13", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b14", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b15", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b16", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b17", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b17", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b17", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b17", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b18", + "right":"b28" + }, + "right":"b38" + }, + "right":"b48" + }, + "right":"b58" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b18", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b18", + "right":"b28" + }, + "right":"b38" + }, + "right":"b48" + }, + "right":"b58" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b18", + "right":"b28" + }, + "right":"b38" + }, + "right":"b48" + }, + "right":"b58" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b18", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b21", + "right":"b11" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b22", + "right":"b12" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b23", + "right":"b13" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b24", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b24", + "right":"b14" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b24", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b25", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b25", + "right":"b15" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b25", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b26", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b26", + "right":"b16" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b26", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b27", + "right":"b17" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b27", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b27", + "right":"b17" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b27", + "right":"b17" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b27", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b28", + "right":"b18" + }, + "right":"b38" + }, + "right":"b48" + }, + "right":"b58" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b28", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b28", + "right":"b18" + }, + "right":"b38" + }, + "right":"b48" + }, + "right":"b58" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b28", + "right":"b18" + }, + "right":"b38" + }, + "right":"b48" + }, + "right":"b58" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b28", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b31", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b31", + "right":"b21" + }, + "right":"b11" + }, + "right":"b41" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b31", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b32", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b32", + "right":"b22" + }, + "right":"b12" + }, + "right":"b42" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b32", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b33", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b33", + "right":"b23" + }, + "right":"b13" + }, + "right":"b43" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b33", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b34", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b34", + "right":"b24" + }, + "right":"b14" + }, + "right":"b44" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b34", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b35", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b35", + "right":"b25" + }, + "right":"b15" + }, + "right":"b45" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b35", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b36", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b36", + "right":"b26" + }, + "right":"b16" + }, + "right":"b46" + }, + "right":"b56" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b36", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b37", + "right":"b27" + }, + "right":"b17" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b37", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b37", + "right":"b27" + }, + "right":"b17" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b37", + "right":"b27" + }, + "right":"b17" + }, + "right":"b47" + }, + "right":"b57" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b37", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b38", + "right":"b28" + }, + "right":"b18" + }, + "right":"b48" + }, + "right":"b58" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b38", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b38", + "right":"b28" + }, + "right":"b18" + }, + "right":"b48" + }, + "right":"b58" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b38", + "right":"b28" + }, + "right":"b18" + }, + "right":"b48" + }, + "right":"b58" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b38", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + }, + "right":"b51" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b41", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + }, + "right":"b51" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b41", + "right":"b21" + }, + "right":"b31" + }, + "right":"b11" + }, + "right":"b51" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b41", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + }, + "right":"b52" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b42", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + }, + "right":"b52" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b42", + "right":"b22" + }, + "right":"b32" + }, + "right":"b12" + }, + "right":"b52" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b42", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + }, + "right":"b53" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b43", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + }, + "right":"b53" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b43", + "right":"b23" + }, + "right":"b33" + }, + "right":"b13" + }, + "right":"b53" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b43", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + }, + "right":"b54" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b44", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + }, + "right":"b54" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b44", + "right":"b24" + }, + "right":"b34" + }, + "right":"b14" + }, + "right":"b54" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b44", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + }, + "right":"b55" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b45", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + }, + "right":"b55" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b45", + "right":"b25" + }, + "right":"b35" + }, + "right":"b15" + }, + "right":"b55" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b45", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + }, + "right":"b56" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b46", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + }, + "right":"b56" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b46", + "right":"b26" + }, + "right":"b36" + }, + "right":"b16" + }, + "right":"b56" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b46", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b47", + "right":"b27" + }, + "right":"b37" + }, + "right":"b17" + }, + "right":"b57" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b47", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b47", + "right":"b27" + }, + "right":"b37" + }, + "right":"b17" + }, + "right":"b57" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b47", + "right":"b27" + }, + "right":"b37" + }, + "right":"b17" + }, + "right":"b57" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b47", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b48", + "right":"b28" + }, + "right":"b38" + }, + "right":"b18" + }, + "right":"b58" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b48", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b48", + "right":"b28" + }, + "right":"b38" + }, + "right":"b18" + }, + "right":"b58" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b48", + "right":"b28" + }, + "right":"b38" + }, + "right":"b18" + }, + "right":"b58" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b48", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"client5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b11" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b51", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b11" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b51", + "right":"b21" + }, + "right":"b31" + }, + "right":"b41" + }, + "right":"b11" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b51", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b52", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b12" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b52", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b52", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b12" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b52", + "right":"b22" + }, + "right":"b32" + }, + "right":"b42" + }, + "right":"b12" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b52", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b53", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b13" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b53", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b53", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b13" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b53", + "right":"b23" + }, + "right":"b33" + }, + "right":"b43" + }, + "right":"b13" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b53", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b54", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b14" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b54", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b54", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b14" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b54", + "right":"b24" + }, + "right":"b34" + }, + "right":"b44" + }, + "right":"b14" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b54", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b55", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b15" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b55", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b55", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b15" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b55", + "right":"b25" + }, + "right":"b35" + }, + "right":"b45" + }, + "right":"b15" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b55", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b56", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b16" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b56", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b56", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b16" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b56", + "right":"b26" + }, + "right":"b36" + }, + "right":"b46" + }, + "right":"b16" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b56", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b57", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b17" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b57", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b57", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b17" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b57", + "right":"b27" + }, + "right":"b37" + }, + "right":"b47" + }, + "right":"b17" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b57", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b58", + "right":"b28" + }, + "right":"b38" + }, + "right":"b48" + }, + "right":"b18" + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"b58", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b58", + "right":"b28" + }, + "right":"b38" + }, + "right":"b48" + }, + "right":"b18" + } + } + } + }, + "right":{ + "op":"*", + "left":2, + "right":{ + "op":"+", + "left":1, + "right":{ + "op":"min", + "left":3, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":"b58", + "right":"b28" + }, + "right":"b38" + }, + "right":"b48" + }, + "right":"b18" + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"b58", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"client1" + }, + { + "automaton":"client2" + }, + { + "automaton":"client3" + }, + { + "automaton":"client4" + }, + { + "automaton":"client5" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil-nofair10.jani b/examples/exported-jani-models/phil-nofair10.jani new file mode 100644 index 000000000..e9bc3a839 --- /dev/null +++ b/examples/exported-jani-models/phil-nofair10.jani @@ -0,0 +1,6924 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + { + "name":"\"num_steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"num_steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + }, + { + "automaton":"phil6" + }, + { + "automaton":"phil7" + }, + { + "automaton":"phil8" + }, + { + "automaton":"phil9" + }, + { + "automaton":"phil10" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil-nofair3.jani b/examples/exported-jani-models/phil-nofair3.jani new file mode 100644 index 000000000..c92c3decb --- /dev/null +++ b/examples/exported-jani-models/phil-nofair3.jani @@ -0,0 +1,2080 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + { + "name":"\"num_steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"num_steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil-nofair4.jani b/examples/exported-jani-models/phil-nofair4.jani new file mode 100644 index 000000000..b5d1e97fb --- /dev/null +++ b/examples/exported-jani-models/phil-nofair4.jani @@ -0,0 +1,2766 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + { + "name":"\"num_steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"num_steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil-nofair5.jani b/examples/exported-jani-models/phil-nofair5.jani new file mode 100644 index 000000000..b140d4b38 --- /dev/null +++ b/examples/exported-jani-models/phil-nofair5.jani @@ -0,0 +1,3454 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + { + "name":"\"num_steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"num_steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil-nofair6.jani b/examples/exported-jani-models/phil-nofair6.jani new file mode 100644 index 000000000..5c4535e01 --- /dev/null +++ b/examples/exported-jani-models/phil-nofair6.jani @@ -0,0 +1,4144 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + { + "name":"\"num_steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"num_steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + }, + { + "automaton":"phil6" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil-nofair7.jani b/examples/exported-jani-models/phil-nofair7.jani new file mode 100644 index 000000000..43207d1d0 --- /dev/null +++ b/examples/exported-jani-models/phil-nofair7.jani @@ -0,0 +1,4836 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + { + "name":"\"num_steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"num_steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + }, + { + "automaton":"phil6" + }, + { + "automaton":"phil7" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil-nofair8.jani b/examples/exported-jani-models/phil-nofair8.jani new file mode 100644 index 000000000..ca21aaeff --- /dev/null +++ b/examples/exported-jani-models/phil-nofair8.jani @@ -0,0 +1,5530 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + { + "name":"\"num_steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"num_steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + }, + { + "automaton":"phil6" + }, + { + "automaton":"phil7" + }, + { + "automaton":"phil8" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil-nofair9.jani b/examples/exported-jani-models/phil-nofair9.jani new file mode 100644 index 000000000..1042b6c07 --- /dev/null +++ b/examples/exported-jani-models/phil-nofair9.jani @@ -0,0 +1,6226 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + { + "name":"\"num_steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"num_steps\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + }, + { + "automaton":"phil6" + }, + { + "automaton":"phil7" + }, + { + "automaton":"phil8" + }, + { + "automaton":"phil9" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil10.jani b/examples/exported-jani-models/phil10.jani new file mode 100644 index 000000000..56b85a42f --- /dev/null +++ b/examples/exported-jani-models/phil10.jani @@ -0,0 +1,8505 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + }, + { + "automaton":"phil6" + }, + { + "automaton":"phil7" + }, + { + "automaton":"phil8" + }, + { + "automaton":"phil9" + }, + { + "automaton":"phil10" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil15.jani b/examples/exported-jani-models/phil15.jani new file mode 100644 index 000000000..08f07f637 --- /dev/null +++ b/examples/exported-jani-models/phil15.jani @@ -0,0 +1,12820 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + }, + { + "automaton":"phil6" + }, + { + "automaton":"phil7" + }, + { + "automaton":"phil8" + }, + { + "automaton":"phil9" + }, + { + "automaton":"phil10" + }, + { + "automaton":"phil11" + }, + { + "automaton":"phil12" + }, + { + "automaton":"phil13" + }, + { + "automaton":"phil14" + }, + { + "automaton":"phil15" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil20.jani b/examples/exported-jani-models/phil20.jani new file mode 100644 index 000000000..2c5ece66a --- /dev/null +++ b/examples/exported-jani-models/phil20.jani @@ -0,0 +1,17185 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p19", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p20", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil17", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil18", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil19", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil20", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + }, + { + "automaton":"phil6" + }, + { + "automaton":"phil7" + }, + { + "automaton":"phil8" + }, + { + "automaton":"phil9" + }, + { + "automaton":"phil10" + }, + { + "automaton":"phil11" + }, + { + "automaton":"phil12" + }, + { + "automaton":"phil13" + }, + { + "automaton":"phil14" + }, + { + "automaton":"phil15" + }, + { + "automaton":"phil16" + }, + { + "automaton":"phil17" + }, + { + "automaton":"phil18" + }, + { + "automaton":"phil19" + }, + { + "automaton":"phil20" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil25.jani b/examples/exported-jani-models/phil25.jani new file mode 100644 index 000000000..fbdddc729 --- /dev/null +++ b/examples/exported-jani-models/phil25.jani @@ -0,0 +1,21600 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p19", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p20", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p22", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p23", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p24", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p25", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil17", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil18", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil19", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil20", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil21", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil22", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil23", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil24", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil25", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + }, + { + "automaton":"phil6" + }, + { + "automaton":"phil7" + }, + { + "automaton":"phil8" + }, + { + "automaton":"phil9" + }, + { + "automaton":"phil10" + }, + { + "automaton":"phil11" + }, + { + "automaton":"phil12" + }, + { + "automaton":"phil13" + }, + { + "automaton":"phil14" + }, + { + "automaton":"phil15" + }, + { + "automaton":"phil16" + }, + { + "automaton":"phil17" + }, + { + "automaton":"phil18" + }, + { + "automaton":"phil19" + }, + { + "automaton":"phil20" + }, + { + "automaton":"phil21" + }, + { + "automaton":"phil22" + }, + { + "automaton":"phil23" + }, + { + "automaton":"phil24" + }, + { + "automaton":"phil25" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil3.jani b/examples/exported-jani-models/phil3.jani new file mode 100644 index 000000000..465ba4580 --- /dev/null +++ b/examples/exported-jani-models/phil3.jani @@ -0,0 +1,2548 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil30.jani b/examples/exported-jani-models/phil30.jani new file mode 100644 index 000000000..f212a796d --- /dev/null +++ b/examples/exported-jani-models/phil30.jani @@ -0,0 +1,26065 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p19", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p20", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p22", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p23", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p24", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p25", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p26", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p27", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p28", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p29", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p30", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p30", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p30", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p30", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p30", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p30", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p30", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p30", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p30", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p10", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p10", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p10", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p11", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p11", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p11", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p11", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p11", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p11", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p12", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p12", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p12", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p12", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p12", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p12", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p13", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p13", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p13", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p13", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p13", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p13", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p14", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p14", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p14", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p14", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p14", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p14", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p15", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p15", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p15", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p15", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p15", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p15", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p16", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p16", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p16", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil17", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p16", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p16", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p16", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p17", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p17", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p17", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil18", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p17", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p17", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p17", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p18", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p18", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p18", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil19", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p18", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p18", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p18", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p19", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p19", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p19", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil20", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p19", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p19", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p19", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p20", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p20", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p20", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil21", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p20", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p20", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p20", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p21", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p21", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p21", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil22", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p21", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p21", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p21", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p22", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p22", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p22", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil23", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p22", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p22", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p22", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p23", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p23", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p23", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil24", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p23", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p23", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p23", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p24", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p24", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p24", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil25", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p26", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p26", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p26", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p26", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p24", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p24", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p24", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p26", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p26", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p25", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p26", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p26", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p25", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p25", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil26", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p26", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p26", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p26", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p26", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p27", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p27", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p26", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p27", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p27", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p26", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p26", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p26", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p26", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p25", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p25", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p25", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p26", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p27", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p27", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p26", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p27", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p27", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p26", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p26", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p26", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p26", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p26", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p26", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p26", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p26", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil27", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p27", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p27", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p27", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p27", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p28", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p28", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p27", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p28", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p28", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p27", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p26", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p26", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p27", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p26", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p26", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p27", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p26", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p26", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p27", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p26", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p26", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p26", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p27", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p28", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p28", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p27", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p28", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p28", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p27", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p27", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p27", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p27", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p27", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p27", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p27", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p27", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil28", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p28", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p28", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p28", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p28", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p29", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p29", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p28", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p29", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p29", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p28", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p27", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p27", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p28", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p27", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p27", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p28", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p27", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p27", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p28", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p27", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p27", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p27", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p28", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p29", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p29", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p28", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p29", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p29", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p28", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p28", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p28", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p28", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p28", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p28", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p28", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p28", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil29", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p29", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p29", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p29", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p29", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p30", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p30", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p29", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p30", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p30", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p29", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p28", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p28", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p29", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p28", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p28", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p29", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p28", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p28", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p29", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p28", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p28", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p28", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p29", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p30", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p30", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p29", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p30", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p30", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p30", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p29", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p29", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p29", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p29", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p29", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p29", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p29", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p29", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil30", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p30", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p30", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p30", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p30", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p30", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p30", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p29", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p29", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p30", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p29", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p29", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p30", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p29", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p29", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p30", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p29", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p29", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p29", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p30", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p30", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p30", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p30", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p30", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p30", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p30", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p30", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p30", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p30", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + }, + { + "automaton":"phil6" + }, + { + "automaton":"phil7" + }, + { + "automaton":"phil8" + }, + { + "automaton":"phil9" + }, + { + "automaton":"phil10" + }, + { + "automaton":"phil11" + }, + { + "automaton":"phil12" + }, + { + "automaton":"phil13" + }, + { + "automaton":"phil14" + }, + { + "automaton":"phil15" + }, + { + "automaton":"phil16" + }, + { + "automaton":"phil17" + }, + { + "automaton":"phil18" + }, + { + "automaton":"phil19" + }, + { + "automaton":"phil20" + }, + { + "automaton":"phil21" + }, + { + "automaton":"phil22" + }, + { + "automaton":"phil23" + }, + { + "automaton":"phil24" + }, + { + "automaton":"phil25" + }, + { + "automaton":"phil26" + }, + { + "automaton":"phil27" + }, + { + "automaton":"phil28" + }, + { + "automaton":"phil29" + }, + { + "automaton":"phil30" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil4.jani b/examples/exported-jani-models/phil4.jani new file mode 100644 index 000000000..36c0ef8a5 --- /dev/null +++ b/examples/exported-jani-models/phil4.jani @@ -0,0 +1,3393 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil5.jani b/examples/exported-jani-models/phil5.jani new file mode 100644 index 000000000..93edf8aed --- /dev/null +++ b/examples/exported-jani-models/phil5.jani @@ -0,0 +1,4240 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil6.jani b/examples/exported-jani-models/phil6.jani new file mode 100644 index 000000000..684ec51e7 --- /dev/null +++ b/examples/exported-jani-models/phil6.jani @@ -0,0 +1,5089 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + }, + { + "automaton":"phil6" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil7.jani b/examples/exported-jani-models/phil7.jani new file mode 100644 index 000000000..c6d7188a6 --- /dev/null +++ b/examples/exported-jani-models/phil7.jani @@ -0,0 +1,5940 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + }, + { + "automaton":"phil6" + }, + { + "automaton":"phil7" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil8.jani b/examples/exported-jani-models/phil8.jani new file mode 100644 index 000000000..8638a803e --- /dev/null +++ b/examples/exported-jani-models/phil8.jani @@ -0,0 +1,6793 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + }, + { + "automaton":"phil6" + }, + { + "automaton":"phil7" + }, + { + "automaton":"phil8" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil9.jani b/examples/exported-jani-models/phil9.jani new file mode 100644 index 000000000..e4b845162 --- /dev/null +++ b/examples/exported-jani-models/phil9.jani @@ -0,0 +1,7648 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + }, + { + "name":"p9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":11 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":0 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + } + }, + "automata":[ + { + "name":"phil1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p5", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p5", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p5", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p6", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p6", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p6", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p7", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p7", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p7", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p9", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p9", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p8", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"phil9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p8", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p8", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":11 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":10 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"p9", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + }, + { + "automaton":"phil5" + }, + { + "automaton":"phil6" + }, + { + "automaton":"phil7" + }, + { + "automaton":"phil8" + }, + { + "automaton":"phil9" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/phil_lss3.jani b/examples/exported-jani-models/phil_lss3.jani new file mode 100644 index 000000000..a2a4de12e --- /dev/null +++ b/examples/exported-jani-models/phil_lss3.jani @@ -0,0 +1,4208 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"s1" + }, + { + "name":"s2" + }, + { + "name":"s3" + } + ], + "constants":[ + { + "name":"K", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"K" + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"K" + } + }, + { + "name":"c3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"K" + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":13 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":13 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":13 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c2", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c2", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c2", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c2", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":0 + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":0 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"phil1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":12 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":13 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":13 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":13 + } + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":12 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":13 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":13 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":13 + } + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":12 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":13 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":13 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":13 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + } + ], + "syncs":[ + { + "synchronise":[ + "s3", + null, + null, + "s3" + ], + "result":"s3" + }, + { + "synchronise":[ + "s2", + null, + "s2", + null + ], + "result":"s2" + }, + { + "synchronise":[ + "s1", + "s1", + null, + null + ], + "result":"s1" + } + ] + } +} diff --git a/examples/exported-jani-models/phil_lss4.jani b/examples/exported-jani-models/phil_lss4.jani new file mode 100644 index 000000000..8b0d84689 --- /dev/null +++ b/examples/exported-jani-models/phil_lss4.jani @@ -0,0 +1,10879 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"s1" + }, + { + "name":"s2" + }, + { + "name":"s3" + }, + { + "name":"s4" + } + ], + "constants":[ + { + "name":"K", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"K" + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"K" + } + }, + { + "name":"c3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"K" + } + }, + { + "name":"c4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"K" + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":13 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":13 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":13 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":13 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "automata":[ + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c2", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p4", + "right":13 + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c2", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p4", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + }, + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c2", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p4", + "right":13 + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c2", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p4", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + }, + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c2", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p4", + "right":13 + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c2", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p4", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c2", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p4", + "right":13 + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c2", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p4", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + }, + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p4", + "right":13 + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p4", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + }, + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p4", + "right":13 + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p4", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + }, + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p4", + "right":13 + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p4", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p4", + "right":13 + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p4", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + }, + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p4", + "right":13 + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":0 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p4", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":0 + }, + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p4", + "right":13 + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":0 + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p4", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":0 + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p4", + "right":13 + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p4", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p4", + "right":13 + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c4", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p4", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p4", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c3", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"c4", + "value":{ + "op":"+", + "left":"c4", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c4", + "value":0 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c4", + "value":0 + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c4", + "value":0 + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p1", + "right":13 + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c4", + "value":0 + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c4", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p2", + "right":13 + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c4", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"p3", + "right":13 + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c4", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"c1", + "right":"K" + }, + "right":{ + "op":"=", + "left":"c2", + "right":"K" + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":"K" + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":1 + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"c3", + "right":{ + "op":"-", + "left":"K", + "right":2 + } + } + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p1", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p1", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p2", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p2", + "right":0 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"p3", + "right":13 + }, + "right":{ + "op":"≠", + "left":"p3", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c4", + "value":0 + }, + { + "ref":"c1", + "value":{ + "op":"+", + "left":"c1", + "right":1 + } + }, + { + "ref":"c2", + "value":{ + "op":"+", + "left":"c2", + "right":1 + } + }, + { + "ref":"c3", + "value":{ + "op":"+", + "left":"c3", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"phil1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":7 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":9 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":10 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":11 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":12 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":13 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":13 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"s1", + "guard":{ + "exp":{ + "op":"=", + "left":"p1", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":13 + } + ] + } + ] + } + ] + }, + { + "name":"phil2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p3", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p3", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":7 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":9 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":10 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":11 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":12 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":13 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":13 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"s2", + "guard":{ + "exp":{ + "op":"=", + "left":"p2", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":13 + } + ] + } + ] + } + ] + }, + { + "name":"phil3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p4", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":7 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":9 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":10 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":11 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":12 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":13 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":13 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"s3", + "guard":{ + "exp":{ + "op":"=", + "left":"p3", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":13 + } + ] + } + ] + } + ] + }, + { + "name":"phil4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":2 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":4 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p2", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":12 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":5 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"p1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"p1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":11 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":13 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":7 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":9 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":10 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":11 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":12 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":13 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":13 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"s4", + "guard":{ + "exp":{ + "op":"=", + "left":"p4", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":13 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"counter" + }, + { + "automaton":"phil1" + }, + { + "automaton":"phil2" + }, + { + "automaton":"phil3" + }, + { + "automaton":"phil4" + } + ], + "syncs":[ + { + "synchronise":[ + "s4", + null, + null, + null, + "s4" + ], + "result":"s4" + }, + { + "synchronise":[ + "s3", + null, + null, + "s3", + null + ], + "result":"s3" + }, + { + "synchronise":[ + "s2", + null, + "s2", + null, + null + ], + "result":"s2" + }, + { + "synchronise":[ + "s1", + "s1", + null, + null, + null + ], + "result":"s1" + } + ] + } +} diff --git a/examples/exported-jani-models/pincracking.jani b/examples/exported-jani-models/pincracking.jani new file mode 100644 index 000000000..a136e03cf --- /dev/null +++ b/examples/exported-jani-models/pincracking.jani @@ -0,0 +1,630 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"P3_could_be0", + "type":"bool" + }, + { + "name":"P3_could_be1", + "type":"bool" + }, + { + "name":"P3_could_be2", + "type":"bool" + }, + { + "name":"P3_could_be3", + "type":"bool" + }, + { + "name":"P3_could_be4", + "type":"bool" + }, + { + "name":"P3_could_be5", + "type":"bool" + }, + { + "name":"P3_could_be6", + "type":"bool" + }, + { + "name":"P3_could_be7", + "type":"bool" + }, + { + "name":"P3_could_be8", + "type":"bool" + }, + { + "name":"P3_could_be9", + "type":"bool" + }, + { + "name":"P3_guessed", + "type":"bool" + }, + { + "name":"PIN_Digit3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":10 + } + }, + { + "name":"Digit_Count", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":5 + } + } + ], + "observables":[ + { + "name":"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"P3_could_be0", + "right":true + }, + "right":{ + "op":"=", + "left":"P3_could_be1", + "right":true + } + }, + "right":{ + "op":"=", + "left":"P3_could_be2", + "right":true + } + }, + "right":{ + "op":"=", + "left":"P3_could_be3", + "right":true + } + }, + "right":{ + "op":"=", + "left":"P3_could_be4", + "right":true + } + }, + "right":{ + "op":"=", + "left":"P3_could_be5", + "right":true + } + }, + "right":{ + "op":"=", + "left":"P3_could_be6", + "right":true + } + }, + "right":{ + "op":"=", + "left":"P3_could_be7", + "right":true + } + }, + "right":{ + "op":"=", + "left":"P3_could_be8", + "right":true + } + }, + "right":{ + "op":"=", + "left":"P3_could_be9", + "right":true + } + }, + "right":{ + "op":"=", + "left":"P3_guessed", + "right":false + } + }, + "right":{ + "op":"=", + "left":"PIN_Digit3", + "right":10 + } + }, + "right":{ + "op":"=", + "left":"Digit_Count", + "right":3 + } + } + }, + "automata":[ + { + "name":"M1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"P3_guessed" + }, + "right":{ + "op":"=", + "left":"Digit_Count", + "right":3 + } + }, + "right":"P3_could_be0" + }, + "right":"P3_could_be1" + }, + "right":"P3_could_be2" + }, + "right":"P3_could_be3" + }, + "right":"P3_could_be4" + }, + "right":"P3_could_be5" + }, + "right":"P3_could_be6" + }, + "right":"P3_could_be7" + }, + "right":"P3_could_be8" + }, + "right":"P3_could_be9" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":2, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Digit_Count", + "value":4 + }, + { + "ref":"P3_could_be0", + "value":false + }, + { + "ref":"P3_could_be1", + "value":false + }, + { + "ref":"P3_could_be2", + "value":false + }, + { + "ref":"P3_could_be3", + "value":false + }, + { + "ref":"P3_could_be4", + "value":false + }, + { + "ref":"P3_could_be5", + "value":false + }, + { + "ref":"P3_could_be6", + "value":false + }, + { + "ref":"P3_could_be7", + "value":false + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":8, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Digit_Count", + "value":3 + }, + { + "ref":"P3_could_be8", + "value":false + }, + { + "ref":"P3_could_be9", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"P3_guessed" + }, + "right":{ + "op":"=", + "left":"Digit_Count", + "right":3 + } + }, + "right":"P3_could_be0" + }, + "right":"P3_could_be1" + }, + "right":"P3_could_be2" + }, + "right":"P3_could_be3" + }, + "right":"P3_could_be4" + }, + "right":"P3_could_be5" + }, + "right":"P3_could_be6" + }, + "right":"P3_could_be7" + }, + "right":"P3_could_be8" + }, + "right":"P3_could_be9" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":6, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Digit_Count", + "value":3 + }, + { + "ref":"P3_could_be0", + "value":false + }, + { + "ref":"P3_could_be1", + "value":false + }, + { + "ref":"P3_could_be8", + "value":false + }, + { + "ref":"P3_could_be9", + "value":false + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":4, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Digit_Count", + "value":3 + }, + { + "ref":"P3_could_be2", + "value":false + }, + { + "ref":"P3_could_be3", + "value":false + }, + { + "ref":"P3_could_be4", + "value":false + }, + { + "ref":"P3_could_be5", + "value":false + }, + { + "ref":"P3_could_be6", + "value":false + }, + { + "ref":"P3_could_be7", + "value":false + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"P3_guessed" + }, + "right":{ + "op":"=", + "left":"Digit_Count", + "right":3 + } + }, + "right":"P3_could_be0" + }, + "right":"P3_could_be1" + }, + "right":"P3_could_be2" + }, + "right":"P3_could_be3" + }, + "right":"P3_could_be4" + }, + "right":"P3_could_be5" + }, + "right":"P3_could_be6" + }, + "right":"P3_could_be7" + }, + "right":"P3_could_be8" + }, + "right":"P3_could_be9" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":6, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Digit_Count", + "value":3 + }, + { + "ref":"P3_could_be2", + "value":false + }, + { + "ref":"P3_could_be3", + "value":false + }, + { + "ref":"P3_could_be8", + "value":false + }, + { + "ref":"P3_could_be9", + "value":false + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":4, + "right":10 + } + }, + "location":"location", + "assignments":[ + { + "ref":"Digit_Count", + "value":3 + }, + { + "ref":"P3_could_be0", + "value":false + }, + { + "ref":"P3_could_be1", + "value":false + }, + { + "ref":"P3_could_be4", + "value":false + }, + { + "ref":"P3_could_be5", + "value":false + }, + { + "ref":"P3_could_be6", + "value":false + }, + { + "ref":"P3_could_be7", + "value":false + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"M1" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll10.jani b/examples/exported-jani-models/poll10.jani new file mode 100644 index 000000000..0875faafa --- /dev/null +++ b/examples/exported-jani-models/poll10.jani @@ -0,0 +1,3973 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"loop6a" + }, + { + "name":"loop6b" + }, + { + "name":"serve6" + }, + { + "name":"loop7a" + }, + { + "name":"loop7b" + }, + { + "name":"serve7" + }, + { + "name":"loop8a" + }, + { + "name":"loop8b" + }, + { + "name":"serve8" + }, + { + "name":"loop9a" + }, + { + "name":"loop9b" + }, + { + "name":"serve9" + }, + { + "name":"loop10a" + }, + { + "name":"loop10b" + }, + { + "name":"serve10" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":10 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s10", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":10 + }, + "right":{ + "op":"/", + "left":1, + "right":10 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":10 + }, + "right":{ + "op":"/", + "left":1, + "right":10 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":10 + }, + "right":{ + "op":"/", + "left":1, + "right":10 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":10 + }, + "right":{ + "op":"/", + "left":1, + "right":10 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":10 + }, + "right":{ + "op":"/", + "left":1, + "right":10 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":10 + }, + "right":{ + "op":"/", + "left":1, + "right":10 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":10 + }, + "right":{ + "op":"/", + "left":1, + "right":10 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":10 + }, + "right":{ + "op":"/", + "left":1, + "right":10 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":10 + }, + "right":{ + "op":"/", + "left":1, + "right":10 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":10 + }, + "right":{ + "op":"/", + "left":1, + "right":10 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + }, + { + "automaton":"station6" + }, + { + "automaton":"station7" + }, + { + "automaton":"station8" + }, + { + "automaton":"station9" + }, + { + "automaton":"station10" + } + ], + "syncs":[ + { + "synchronise":[ + "loop10a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10a" + ], + "result":"loop10a" + }, + { + "synchronise":[ + "loop10b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10b" + ], + "result":"loop10b" + }, + { + "synchronise":[ + "serve10", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve10" + ], + "result":"serve10" + }, + { + "synchronise":[ + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9a", + null + ], + "result":"loop9a" + }, + { + "synchronise":[ + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9b", + null + ], + "result":"loop9b" + }, + { + "synchronise":[ + "serve9", + null, + null, + null, + null, + null, + null, + null, + null, + "serve9", + null + ], + "result":"serve9" + }, + { + "synchronise":[ + "loop8a", + null, + null, + null, + null, + null, + null, + null, + "loop8a", + null, + null + ], + "result":"loop8a" + }, + { + "synchronise":[ + "loop8b", + null, + null, + null, + null, + null, + null, + null, + "loop8b", + null, + null + ], + "result":"loop8b" + }, + { + "synchronise":[ + "serve8", + null, + null, + null, + null, + null, + null, + null, + "serve8", + null, + null + ], + "result":"serve8" + }, + { + "synchronise":[ + "loop7a", + null, + null, + null, + null, + null, + null, + "loop7a", + null, + null, + null + ], + "result":"loop7a" + }, + { + "synchronise":[ + "loop7b", + null, + null, + null, + null, + null, + null, + "loop7b", + null, + null, + null + ], + "result":"loop7b" + }, + { + "synchronise":[ + "serve7", + null, + null, + null, + null, + null, + null, + "serve7", + null, + null, + null + ], + "result":"serve7" + }, + { + "synchronise":[ + "loop6a", + null, + null, + null, + null, + null, + "loop6a", + null, + null, + null, + null + ], + "result":"loop6a" + }, + { + "synchronise":[ + "loop6b", + null, + null, + null, + null, + null, + "loop6b", + null, + null, + null, + null + ], + "result":"loop6b" + }, + { + "synchronise":[ + "serve6", + null, + null, + null, + null, + null, + "serve6", + null, + null, + null, + null + ], + "result":"serve6" + }, + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a", + null, + null, + null, + null, + null + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b", + null, + null, + null, + null, + null + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5", + null, + null, + null, + null, + null + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null, + null, + null, + null, + null, + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null, + null, + null, + null, + null, + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null, + null, + null, + null, + null, + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll11.jani b/examples/exported-jani-models/poll11.jani new file mode 100644 index 000000000..d3f070f5d --- /dev/null +++ b/examples/exported-jani-models/poll11.jani @@ -0,0 +1,4403 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"loop6a" + }, + { + "name":"loop6b" + }, + { + "name":"serve6" + }, + { + "name":"loop7a" + }, + { + "name":"loop7b" + }, + { + "name":"serve7" + }, + { + "name":"loop8a" + }, + { + "name":"loop8b" + }, + { + "name":"serve8" + }, + { + "name":"loop9a" + }, + { + "name":"loop9b" + }, + { + "name":"serve9" + }, + { + "name":"loop10a" + }, + { + "name":"loop10b" + }, + { + "name":"serve10" + }, + { + "name":"loop11a" + }, + { + "name":"loop11b" + }, + { + "name":"serve11" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":11 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s11", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":11 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":11 + }, + "right":{ + "op":"/", + "left":1, + "right":11 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":11 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":11 + }, + "right":{ + "op":"/", + "left":1, + "right":11 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":11 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":11 + }, + "right":{ + "op":"/", + "left":1, + "right":11 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":11 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":11 + }, + "right":{ + "op":"/", + "left":1, + "right":11 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":11 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":11 + }, + "right":{ + "op":"/", + "left":1, + "right":11 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":11 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":11 + }, + "right":{ + "op":"/", + "left":1, + "right":11 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":11 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":11 + }, + "right":{ + "op":"/", + "left":1, + "right":11 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":11 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":11 + }, + "right":{ + "op":"/", + "left":1, + "right":11 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":11 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":11 + }, + "right":{ + "op":"/", + "left":1, + "right":11 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":11 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":11 + }, + "right":{ + "op":"/", + "left":1, + "right":11 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":11 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":11 + }, + "right":{ + "op":"/", + "left":1, + "right":11 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + }, + { + "automaton":"station6" + }, + { + "automaton":"station7" + }, + { + "automaton":"station8" + }, + { + "automaton":"station9" + }, + { + "automaton":"station10" + }, + { + "automaton":"station11" + } + ], + "syncs":[ + { + "synchronise":[ + "loop11a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11a" + ], + "result":"loop11a" + }, + { + "synchronise":[ + "loop11b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11b" + ], + "result":"loop11b" + }, + { + "synchronise":[ + "serve11", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve11" + ], + "result":"serve11" + }, + { + "synchronise":[ + "loop10a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10a", + null + ], + "result":"loop10a" + }, + { + "synchronise":[ + "loop10b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10b", + null + ], + "result":"loop10b" + }, + { + "synchronise":[ + "serve10", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve10", + null + ], + "result":"serve10" + }, + { + "synchronise":[ + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9a", + null, + null + ], + "result":"loop9a" + }, + { + "synchronise":[ + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9b", + null, + null + ], + "result":"loop9b" + }, + { + "synchronise":[ + "serve9", + null, + null, + null, + null, + null, + null, + null, + null, + "serve9", + null, + null + ], + "result":"serve9" + }, + { + "synchronise":[ + "loop8a", + null, + null, + null, + null, + null, + null, + null, + "loop8a", + null, + null, + null + ], + "result":"loop8a" + }, + { + "synchronise":[ + "loop8b", + null, + null, + null, + null, + null, + null, + null, + "loop8b", + null, + null, + null + ], + "result":"loop8b" + }, + { + "synchronise":[ + "serve8", + null, + null, + null, + null, + null, + null, + null, + "serve8", + null, + null, + null + ], + "result":"serve8" + }, + { + "synchronise":[ + "loop7a", + null, + null, + null, + null, + null, + null, + "loop7a", + null, + null, + null, + null + ], + "result":"loop7a" + }, + { + "synchronise":[ + "loop7b", + null, + null, + null, + null, + null, + null, + "loop7b", + null, + null, + null, + null + ], + "result":"loop7b" + }, + { + "synchronise":[ + "serve7", + null, + null, + null, + null, + null, + null, + "serve7", + null, + null, + null, + null + ], + "result":"serve7" + }, + { + "synchronise":[ + "loop6a", + null, + null, + null, + null, + null, + "loop6a", + null, + null, + null, + null, + null + ], + "result":"loop6a" + }, + { + "synchronise":[ + "loop6b", + null, + null, + null, + null, + null, + "loop6b", + null, + null, + null, + null, + null + ], + "result":"loop6b" + }, + { + "synchronise":[ + "serve6", + null, + null, + null, + null, + null, + "serve6", + null, + null, + null, + null, + null + ], + "result":"serve6" + }, + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a", + null, + null, + null, + null, + null, + null + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b", + null, + null, + null, + null, + null, + null + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5", + null, + null, + null, + null, + null, + null + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll12.jani b/examples/exported-jani-models/poll12.jani new file mode 100644 index 000000000..462cebc53 --- /dev/null +++ b/examples/exported-jani-models/poll12.jani @@ -0,0 +1,4841 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"loop6a" + }, + { + "name":"loop6b" + }, + { + "name":"serve6" + }, + { + "name":"loop7a" + }, + { + "name":"loop7b" + }, + { + "name":"serve7" + }, + { + "name":"loop8a" + }, + { + "name":"loop8b" + }, + { + "name":"serve8" + }, + { + "name":"loop9a" + }, + { + "name":"loop9b" + }, + { + "name":"serve9" + }, + { + "name":"loop10a" + }, + { + "name":"loop10b" + }, + { + "name":"serve10" + }, + { + "name":"loop11a" + }, + { + "name":"loop11b" + }, + { + "name":"serve11" + }, + { + "name":"loop12a" + }, + { + "name":"loop12b" + }, + { + "name":"serve12" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s12", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":12 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":12 + }, + "right":{ + "op":"/", + "left":1, + "right":12 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":12 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":12 + }, + "right":{ + "op":"/", + "left":1, + "right":12 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":12 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":12 + }, + "right":{ + "op":"/", + "left":1, + "right":12 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":12 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":12 + }, + "right":{ + "op":"/", + "left":1, + "right":12 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":12 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":12 + }, + "right":{ + "op":"/", + "left":1, + "right":12 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":12 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":12 + }, + "right":{ + "op":"/", + "left":1, + "right":12 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":12 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":12 + }, + "right":{ + "op":"/", + "left":1, + "right":12 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":12 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":12 + }, + "right":{ + "op":"/", + "left":1, + "right":12 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":12 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":12 + }, + "right":{ + "op":"/", + "left":1, + "right":12 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":12 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":12 + }, + "right":{ + "op":"/", + "left":1, + "right":12 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":12 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":12 + }, + "right":{ + "op":"/", + "left":1, + "right":12 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":12 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":12 + }, + "right":{ + "op":"/", + "left":1, + "right":12 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + }, + { + "automaton":"station6" + }, + { + "automaton":"station7" + }, + { + "automaton":"station8" + }, + { + "automaton":"station9" + }, + { + "automaton":"station10" + }, + { + "automaton":"station11" + }, + { + "automaton":"station12" + } + ], + "syncs":[ + { + "synchronise":[ + "loop12a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12a" + ], + "result":"loop12a" + }, + { + "synchronise":[ + "loop12b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12b" + ], + "result":"loop12b" + }, + { + "synchronise":[ + "serve12", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve12" + ], + "result":"serve12" + }, + { + "synchronise":[ + "loop11a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11a", + null + ], + "result":"loop11a" + }, + { + "synchronise":[ + "loop11b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11b", + null + ], + "result":"loop11b" + }, + { + "synchronise":[ + "serve11", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve11", + null + ], + "result":"serve11" + }, + { + "synchronise":[ + "loop10a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10a", + null, + null + ], + "result":"loop10a" + }, + { + "synchronise":[ + "loop10b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10b", + null, + null + ], + "result":"loop10b" + }, + { + "synchronise":[ + "serve10", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve10", + null, + null + ], + "result":"serve10" + }, + { + "synchronise":[ + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9a", + null, + null, + null + ], + "result":"loop9a" + }, + { + "synchronise":[ + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9b", + null, + null, + null + ], + "result":"loop9b" + }, + { + "synchronise":[ + "serve9", + null, + null, + null, + null, + null, + null, + null, + null, + "serve9", + null, + null, + null + ], + "result":"serve9" + }, + { + "synchronise":[ + "loop8a", + null, + null, + null, + null, + null, + null, + null, + "loop8a", + null, + null, + null, + null + ], + "result":"loop8a" + }, + { + "synchronise":[ + "loop8b", + null, + null, + null, + null, + null, + null, + null, + "loop8b", + null, + null, + null, + null + ], + "result":"loop8b" + }, + { + "synchronise":[ + "serve8", + null, + null, + null, + null, + null, + null, + null, + "serve8", + null, + null, + null, + null + ], + "result":"serve8" + }, + { + "synchronise":[ + "loop7a", + null, + null, + null, + null, + null, + null, + "loop7a", + null, + null, + null, + null, + null + ], + "result":"loop7a" + }, + { + "synchronise":[ + "loop7b", + null, + null, + null, + null, + null, + null, + "loop7b", + null, + null, + null, + null, + null + ], + "result":"loop7b" + }, + { + "synchronise":[ + "serve7", + null, + null, + null, + null, + null, + null, + "serve7", + null, + null, + null, + null, + null + ], + "result":"serve7" + }, + { + "synchronise":[ + "loop6a", + null, + null, + null, + null, + null, + "loop6a", + null, + null, + null, + null, + null, + null + ], + "result":"loop6a" + }, + { + "synchronise":[ + "loop6b", + null, + null, + null, + null, + null, + "loop6b", + null, + null, + null, + null, + null, + null + ], + "result":"loop6b" + }, + { + "synchronise":[ + "serve6", + null, + null, + null, + null, + null, + "serve6", + null, + null, + null, + null, + null, + null + ], + "result":"serve6" + }, + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5", + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll13.jani b/examples/exported-jani-models/poll13.jani new file mode 100644 index 000000000..e341780d1 --- /dev/null +++ b/examples/exported-jani-models/poll13.jani @@ -0,0 +1,5287 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"loop6a" + }, + { + "name":"loop6b" + }, + { + "name":"serve6" + }, + { + "name":"loop7a" + }, + { + "name":"loop7b" + }, + { + "name":"serve7" + }, + { + "name":"loop8a" + }, + { + "name":"loop8b" + }, + { + "name":"serve8" + }, + { + "name":"loop9a" + }, + { + "name":"loop9b" + }, + { + "name":"serve9" + }, + { + "name":"loop10a" + }, + { + "name":"loop10b" + }, + { + "name":"serve10" + }, + { + "name":"loop11a" + }, + { + "name":"loop11b" + }, + { + "name":"serve11" + }, + { + "name":"loop12a" + }, + { + "name":"loop12b" + }, + { + "name":"serve12" + }, + { + "name":"loop13a" + }, + { + "name":"loop13b" + }, + { + "name":"serve13" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":13 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s13", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":13 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":13 + }, + "right":{ + "op":"/", + "left":1, + "right":13 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":13 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":13 + }, + "right":{ + "op":"/", + "left":1, + "right":13 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":13 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":13 + }, + "right":{ + "op":"/", + "left":1, + "right":13 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":13 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":13 + }, + "right":{ + "op":"/", + "left":1, + "right":13 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":13 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":13 + }, + "right":{ + "op":"/", + "left":1, + "right":13 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":13 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":13 + }, + "right":{ + "op":"/", + "left":1, + "right":13 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":13 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":13 + }, + "right":{ + "op":"/", + "left":1, + "right":13 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":13 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":13 + }, + "right":{ + "op":"/", + "left":1, + "right":13 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":13 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":13 + }, + "right":{ + "op":"/", + "left":1, + "right":13 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":13 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":13 + }, + "right":{ + "op":"/", + "left":1, + "right":13 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":13 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":13 + }, + "right":{ + "op":"/", + "left":1, + "right":13 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":13 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":13 + }, + "right":{ + "op":"/", + "left":1, + "right":13 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":13 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":13 + }, + "right":{ + "op":"/", + "left":1, + "right":13 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + }, + { + "automaton":"station6" + }, + { + "automaton":"station7" + }, + { + "automaton":"station8" + }, + { + "automaton":"station9" + }, + { + "automaton":"station10" + }, + { + "automaton":"station11" + }, + { + "automaton":"station12" + }, + { + "automaton":"station13" + } + ], + "syncs":[ + { + "synchronise":[ + "loop13a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13a" + ], + "result":"loop13a" + }, + { + "synchronise":[ + "loop13b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13b" + ], + "result":"loop13b" + }, + { + "synchronise":[ + "serve13", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve13" + ], + "result":"serve13" + }, + { + "synchronise":[ + "loop12a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12a", + null + ], + "result":"loop12a" + }, + { + "synchronise":[ + "loop12b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12b", + null + ], + "result":"loop12b" + }, + { + "synchronise":[ + "serve12", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve12", + null + ], + "result":"serve12" + }, + { + "synchronise":[ + "loop11a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11a", + null, + null + ], + "result":"loop11a" + }, + { + "synchronise":[ + "loop11b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11b", + null, + null + ], + "result":"loop11b" + }, + { + "synchronise":[ + "serve11", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve11", + null, + null + ], + "result":"serve11" + }, + { + "synchronise":[ + "loop10a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10a", + null, + null, + null + ], + "result":"loop10a" + }, + { + "synchronise":[ + "loop10b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10b", + null, + null, + null + ], + "result":"loop10b" + }, + { + "synchronise":[ + "serve10", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve10", + null, + null, + null + ], + "result":"serve10" + }, + { + "synchronise":[ + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9a", + null, + null, + null, + null + ], + "result":"loop9a" + }, + { + "synchronise":[ + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9b", + null, + null, + null, + null + ], + "result":"loop9b" + }, + { + "synchronise":[ + "serve9", + null, + null, + null, + null, + null, + null, + null, + null, + "serve9", + null, + null, + null, + null + ], + "result":"serve9" + }, + { + "synchronise":[ + "loop8a", + null, + null, + null, + null, + null, + null, + null, + "loop8a", + null, + null, + null, + null, + null + ], + "result":"loop8a" + }, + { + "synchronise":[ + "loop8b", + null, + null, + null, + null, + null, + null, + null, + "loop8b", + null, + null, + null, + null, + null + ], + "result":"loop8b" + }, + { + "synchronise":[ + "serve8", + null, + null, + null, + null, + null, + null, + null, + "serve8", + null, + null, + null, + null, + null + ], + "result":"serve8" + }, + { + "synchronise":[ + "loop7a", + null, + null, + null, + null, + null, + null, + "loop7a", + null, + null, + null, + null, + null, + null + ], + "result":"loop7a" + }, + { + "synchronise":[ + "loop7b", + null, + null, + null, + null, + null, + null, + "loop7b", + null, + null, + null, + null, + null, + null + ], + "result":"loop7b" + }, + { + "synchronise":[ + "serve7", + null, + null, + null, + null, + null, + null, + "serve7", + null, + null, + null, + null, + null, + null + ], + "result":"serve7" + }, + { + "synchronise":[ + "loop6a", + null, + null, + null, + null, + null, + "loop6a", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6a" + }, + { + "synchronise":[ + "loop6b", + null, + null, + null, + null, + null, + "loop6b", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6b" + }, + { + "synchronise":[ + "serve6", + null, + null, + null, + null, + null, + "serve6", + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve6" + }, + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll14.jani b/examples/exported-jani-models/poll14.jani new file mode 100644 index 000000000..b5ff24994 --- /dev/null +++ b/examples/exported-jani-models/poll14.jani @@ -0,0 +1,5741 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"loop6a" + }, + { + "name":"loop6b" + }, + { + "name":"serve6" + }, + { + "name":"loop7a" + }, + { + "name":"loop7b" + }, + { + "name":"serve7" + }, + { + "name":"loop8a" + }, + { + "name":"loop8b" + }, + { + "name":"serve8" + }, + { + "name":"loop9a" + }, + { + "name":"loop9b" + }, + { + "name":"serve9" + }, + { + "name":"loop10a" + }, + { + "name":"loop10b" + }, + { + "name":"serve10" + }, + { + "name":"loop11a" + }, + { + "name":"loop11b" + }, + { + "name":"serve11" + }, + { + "name":"loop12a" + }, + { + "name":"loop12b" + }, + { + "name":"serve12" + }, + { + "name":"loop13a" + }, + { + "name":"loop13b" + }, + { + "name":"serve13" + }, + { + "name":"loop14a" + }, + { + "name":"loop14b" + }, + { + "name":"serve14" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":14 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s14", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve14", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":14 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":14 + }, + "right":{ + "op":"/", + "left":1, + "right":14 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":14 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":14 + }, + "right":{ + "op":"/", + "left":1, + "right":14 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":14 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":14 + }, + "right":{ + "op":"/", + "left":1, + "right":14 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":14 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":14 + }, + "right":{ + "op":"/", + "left":1, + "right":14 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":14 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":14 + }, + "right":{ + "op":"/", + "left":1, + "right":14 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":14 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":14 + }, + "right":{ + "op":"/", + "left":1, + "right":14 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":14 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":14 + }, + "right":{ + "op":"/", + "left":1, + "right":14 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":14 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":14 + }, + "right":{ + "op":"/", + "left":1, + "right":14 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":14 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":14 + }, + "right":{ + "op":"/", + "left":1, + "right":14 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":14 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":14 + }, + "right":{ + "op":"/", + "left":1, + "right":14 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":14 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":14 + }, + "right":{ + "op":"/", + "left":1, + "right":14 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":14 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":14 + }, + "right":{ + "op":"/", + "left":1, + "right":14 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":14 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":14 + }, + "right":{ + "op":"/", + "left":1, + "right":14 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop14a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":14 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":14 + }, + "right":{ + "op":"/", + "left":1, + "right":14 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve14", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + }, + { + "automaton":"station6" + }, + { + "automaton":"station7" + }, + { + "automaton":"station8" + }, + { + "automaton":"station9" + }, + { + "automaton":"station10" + }, + { + "automaton":"station11" + }, + { + "automaton":"station12" + }, + { + "automaton":"station13" + }, + { + "automaton":"station14" + } + ], + "syncs":[ + { + "synchronise":[ + "loop14a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop14a" + ], + "result":"loop14a" + }, + { + "synchronise":[ + "loop14b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop14b" + ], + "result":"loop14b" + }, + { + "synchronise":[ + "serve14", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve14" + ], + "result":"serve14" + }, + { + "synchronise":[ + "loop13a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13a", + null + ], + "result":"loop13a" + }, + { + "synchronise":[ + "loop13b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13b", + null + ], + "result":"loop13b" + }, + { + "synchronise":[ + "serve13", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve13", + null + ], + "result":"serve13" + }, + { + "synchronise":[ + "loop12a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12a", + null, + null + ], + "result":"loop12a" + }, + { + "synchronise":[ + "loop12b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12b", + null, + null + ], + "result":"loop12b" + }, + { + "synchronise":[ + "serve12", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve12", + null, + null + ], + "result":"serve12" + }, + { + "synchronise":[ + "loop11a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11a", + null, + null, + null + ], + "result":"loop11a" + }, + { + "synchronise":[ + "loop11b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11b", + null, + null, + null + ], + "result":"loop11b" + }, + { + "synchronise":[ + "serve11", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve11", + null, + null, + null + ], + "result":"serve11" + }, + { + "synchronise":[ + "loop10a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10a", + null, + null, + null, + null + ], + "result":"loop10a" + }, + { + "synchronise":[ + "loop10b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10b", + null, + null, + null, + null + ], + "result":"loop10b" + }, + { + "synchronise":[ + "serve10", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve10", + null, + null, + null, + null + ], + "result":"serve10" + }, + { + "synchronise":[ + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9a", + null, + null, + null, + null, + null + ], + "result":"loop9a" + }, + { + "synchronise":[ + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9b", + null, + null, + null, + null, + null + ], + "result":"loop9b" + }, + { + "synchronise":[ + "serve9", + null, + null, + null, + null, + null, + null, + null, + null, + "serve9", + null, + null, + null, + null, + null + ], + "result":"serve9" + }, + { + "synchronise":[ + "loop8a", + null, + null, + null, + null, + null, + null, + null, + "loop8a", + null, + null, + null, + null, + null, + null + ], + "result":"loop8a" + }, + { + "synchronise":[ + "loop8b", + null, + null, + null, + null, + null, + null, + null, + "loop8b", + null, + null, + null, + null, + null, + null + ], + "result":"loop8b" + }, + { + "synchronise":[ + "serve8", + null, + null, + null, + null, + null, + null, + null, + "serve8", + null, + null, + null, + null, + null, + null + ], + "result":"serve8" + }, + { + "synchronise":[ + "loop7a", + null, + null, + null, + null, + null, + null, + "loop7a", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop7a" + }, + { + "synchronise":[ + "loop7b", + null, + null, + null, + null, + null, + null, + "loop7b", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop7b" + }, + { + "synchronise":[ + "serve7", + null, + null, + null, + null, + null, + null, + "serve7", + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve7" + }, + { + "synchronise":[ + "loop6a", + null, + null, + null, + null, + null, + "loop6a", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6a" + }, + { + "synchronise":[ + "loop6b", + null, + null, + null, + null, + null, + "loop6b", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6b" + }, + { + "synchronise":[ + "serve6", + null, + null, + null, + null, + null, + "serve6", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve6" + }, + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll15.jani b/examples/exported-jani-models/poll15.jani new file mode 100644 index 000000000..ada096f89 --- /dev/null +++ b/examples/exported-jani-models/poll15.jani @@ -0,0 +1,6203 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"loop6a" + }, + { + "name":"loop6b" + }, + { + "name":"serve6" + }, + { + "name":"loop7a" + }, + { + "name":"loop7b" + }, + { + "name":"serve7" + }, + { + "name":"loop8a" + }, + { + "name":"loop8b" + }, + { + "name":"serve8" + }, + { + "name":"loop9a" + }, + { + "name":"loop9b" + }, + { + "name":"serve9" + }, + { + "name":"loop10a" + }, + { + "name":"loop10b" + }, + { + "name":"serve10" + }, + { + "name":"loop11a" + }, + { + "name":"loop11b" + }, + { + "name":"serve11" + }, + { + "name":"loop12a" + }, + { + "name":"loop12b" + }, + { + "name":"serve12" + }, + { + "name":"loop13a" + }, + { + "name":"loop13b" + }, + { + "name":"serve13" + }, + { + "name":"loop14a" + }, + { + "name":"loop14b" + }, + { + "name":"serve14" + }, + { + "name":"loop15a" + }, + { + "name":"loop15b" + }, + { + "name":"serve15" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":15 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s15", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve14", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve15", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop14a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve14", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop15a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":15 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":15 + }, + "right":{ + "op":"/", + "left":1, + "right":15 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve15", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + }, + { + "automaton":"station6" + }, + { + "automaton":"station7" + }, + { + "automaton":"station8" + }, + { + "automaton":"station9" + }, + { + "automaton":"station10" + }, + { + "automaton":"station11" + }, + { + "automaton":"station12" + }, + { + "automaton":"station13" + }, + { + "automaton":"station14" + }, + { + "automaton":"station15" + } + ], + "syncs":[ + { + "synchronise":[ + "loop15a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop15a" + ], + "result":"loop15a" + }, + { + "synchronise":[ + "loop15b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop15b" + ], + "result":"loop15b" + }, + { + "synchronise":[ + "serve15", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve15" + ], + "result":"serve15" + }, + { + "synchronise":[ + "loop14a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop14a", + null + ], + "result":"loop14a" + }, + { + "synchronise":[ + "loop14b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop14b", + null + ], + "result":"loop14b" + }, + { + "synchronise":[ + "serve14", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve14", + null + ], + "result":"serve14" + }, + { + "synchronise":[ + "loop13a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13a", + null, + null + ], + "result":"loop13a" + }, + { + "synchronise":[ + "loop13b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13b", + null, + null + ], + "result":"loop13b" + }, + { + "synchronise":[ + "serve13", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve13", + null, + null + ], + "result":"serve13" + }, + { + "synchronise":[ + "loop12a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12a", + null, + null, + null + ], + "result":"loop12a" + }, + { + "synchronise":[ + "loop12b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12b", + null, + null, + null + ], + "result":"loop12b" + }, + { + "synchronise":[ + "serve12", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve12", + null, + null, + null + ], + "result":"serve12" + }, + { + "synchronise":[ + "loop11a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11a", + null, + null, + null, + null + ], + "result":"loop11a" + }, + { + "synchronise":[ + "loop11b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11b", + null, + null, + null, + null + ], + "result":"loop11b" + }, + { + "synchronise":[ + "serve11", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve11", + null, + null, + null, + null + ], + "result":"serve11" + }, + { + "synchronise":[ + "loop10a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10a", + null, + null, + null, + null, + null + ], + "result":"loop10a" + }, + { + "synchronise":[ + "loop10b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10b", + null, + null, + null, + null, + null + ], + "result":"loop10b" + }, + { + "synchronise":[ + "serve10", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve10", + null, + null, + null, + null, + null + ], + "result":"serve10" + }, + { + "synchronise":[ + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9a", + null, + null, + null, + null, + null, + null + ], + "result":"loop9a" + }, + { + "synchronise":[ + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9b", + null, + null, + null, + null, + null, + null + ], + "result":"loop9b" + }, + { + "synchronise":[ + "serve9", + null, + null, + null, + null, + null, + null, + null, + null, + "serve9", + null, + null, + null, + null, + null, + null + ], + "result":"serve9" + }, + { + "synchronise":[ + "loop8a", + null, + null, + null, + null, + null, + null, + null, + "loop8a", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop8a" + }, + { + "synchronise":[ + "loop8b", + null, + null, + null, + null, + null, + null, + null, + "loop8b", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop8b" + }, + { + "synchronise":[ + "serve8", + null, + null, + null, + null, + null, + null, + null, + "serve8", + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve8" + }, + { + "synchronise":[ + "loop7a", + null, + null, + null, + null, + null, + null, + "loop7a", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop7a" + }, + { + "synchronise":[ + "loop7b", + null, + null, + null, + null, + null, + null, + "loop7b", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop7b" + }, + { + "synchronise":[ + "serve7", + null, + null, + null, + null, + null, + null, + "serve7", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve7" + }, + { + "synchronise":[ + "loop6a", + null, + null, + null, + null, + null, + "loop6a", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6a" + }, + { + "synchronise":[ + "loop6b", + null, + null, + null, + null, + null, + "loop6b", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6b" + }, + { + "synchronise":[ + "serve6", + null, + null, + null, + null, + null, + "serve6", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve6" + }, + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll16.jani b/examples/exported-jani-models/poll16.jani new file mode 100644 index 000000000..c702fe0ac --- /dev/null +++ b/examples/exported-jani-models/poll16.jani @@ -0,0 +1,6673 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"loop6a" + }, + { + "name":"loop6b" + }, + { + "name":"serve6" + }, + { + "name":"loop7a" + }, + { + "name":"loop7b" + }, + { + "name":"serve7" + }, + { + "name":"loop8a" + }, + { + "name":"loop8b" + }, + { + "name":"serve8" + }, + { + "name":"loop9a" + }, + { + "name":"loop9b" + }, + { + "name":"serve9" + }, + { + "name":"loop10a" + }, + { + "name":"loop10b" + }, + { + "name":"serve10" + }, + { + "name":"loop11a" + }, + { + "name":"loop11b" + }, + { + "name":"serve11" + }, + { + "name":"loop12a" + }, + { + "name":"loop12b" + }, + { + "name":"serve12" + }, + { + "name":"loop13a" + }, + { + "name":"loop13b" + }, + { + "name":"serve13" + }, + { + "name":"loop14a" + }, + { + "name":"loop14b" + }, + { + "name":"serve14" + }, + { + "name":"loop15a" + }, + { + "name":"loop15b" + }, + { + "name":"serve15" + }, + { + "name":"loop16a" + }, + { + "name":"loop16b" + }, + { + "name":"serve16" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":16 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s16", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve14", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve15", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop16a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":16 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop16b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":16 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve16", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":16 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop14a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve14", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop15a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve15", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop16a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":16 + }, + "right":{ + "op":"/", + "left":1, + "right":16 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop16b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve16", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + }, + { + "automaton":"station6" + }, + { + "automaton":"station7" + }, + { + "automaton":"station8" + }, + { + "automaton":"station9" + }, + { + "automaton":"station10" + }, + { + "automaton":"station11" + }, + { + "automaton":"station12" + }, + { + "automaton":"station13" + }, + { + "automaton":"station14" + }, + { + "automaton":"station15" + }, + { + "automaton":"station16" + } + ], + "syncs":[ + { + "synchronise":[ + "loop16a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop16a" + ], + "result":"loop16a" + }, + { + "synchronise":[ + "loop16b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop16b" + ], + "result":"loop16b" + }, + { + "synchronise":[ + "serve16", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve16" + ], + "result":"serve16" + }, + { + "synchronise":[ + "loop15a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop15a", + null + ], + "result":"loop15a" + }, + { + "synchronise":[ + "loop15b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop15b", + null + ], + "result":"loop15b" + }, + { + "synchronise":[ + "serve15", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve15", + null + ], + "result":"serve15" + }, + { + "synchronise":[ + "loop14a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop14a", + null, + null + ], + "result":"loop14a" + }, + { + "synchronise":[ + "loop14b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop14b", + null, + null + ], + "result":"loop14b" + }, + { + "synchronise":[ + "serve14", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve14", + null, + null + ], + "result":"serve14" + }, + { + "synchronise":[ + "loop13a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13a", + null, + null, + null + ], + "result":"loop13a" + }, + { + "synchronise":[ + "loop13b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13b", + null, + null, + null + ], + "result":"loop13b" + }, + { + "synchronise":[ + "serve13", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve13", + null, + null, + null + ], + "result":"serve13" + }, + { + "synchronise":[ + "loop12a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12a", + null, + null, + null, + null + ], + "result":"loop12a" + }, + { + "synchronise":[ + "loop12b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12b", + null, + null, + null, + null + ], + "result":"loop12b" + }, + { + "synchronise":[ + "serve12", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve12", + null, + null, + null, + null + ], + "result":"serve12" + }, + { + "synchronise":[ + "loop11a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11a", + null, + null, + null, + null, + null + ], + "result":"loop11a" + }, + { + "synchronise":[ + "loop11b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11b", + null, + null, + null, + null, + null + ], + "result":"loop11b" + }, + { + "synchronise":[ + "serve11", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve11", + null, + null, + null, + null, + null + ], + "result":"serve11" + }, + { + "synchronise":[ + "loop10a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10a", + null, + null, + null, + null, + null, + null + ], + "result":"loop10a" + }, + { + "synchronise":[ + "loop10b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10b", + null, + null, + null, + null, + null, + null + ], + "result":"loop10b" + }, + { + "synchronise":[ + "serve10", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve10", + null, + null, + null, + null, + null, + null + ], + "result":"serve10" + }, + { + "synchronise":[ + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9a", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop9a" + }, + { + "synchronise":[ + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9b", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop9b" + }, + { + "synchronise":[ + "serve9", + null, + null, + null, + null, + null, + null, + null, + null, + "serve9", + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve9" + }, + { + "synchronise":[ + "loop8a", + null, + null, + null, + null, + null, + null, + null, + "loop8a", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop8a" + }, + { + "synchronise":[ + "loop8b", + null, + null, + null, + null, + null, + null, + null, + "loop8b", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop8b" + }, + { + "synchronise":[ + "serve8", + null, + null, + null, + null, + null, + null, + null, + "serve8", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve8" + }, + { + "synchronise":[ + "loop7a", + null, + null, + null, + null, + null, + null, + "loop7a", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop7a" + }, + { + "synchronise":[ + "loop7b", + null, + null, + null, + null, + null, + null, + "loop7b", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop7b" + }, + { + "synchronise":[ + "serve7", + null, + null, + null, + null, + null, + null, + "serve7", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve7" + }, + { + "synchronise":[ + "loop6a", + null, + null, + null, + null, + null, + "loop6a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6a" + }, + { + "synchronise":[ + "loop6b", + null, + null, + null, + null, + null, + "loop6b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6b" + }, + { + "synchronise":[ + "serve6", + null, + null, + null, + null, + null, + "serve6", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve6" + }, + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll17.jani b/examples/exported-jani-models/poll17.jani new file mode 100644 index 000000000..2fb6e99bf --- /dev/null +++ b/examples/exported-jani-models/poll17.jani @@ -0,0 +1,7151 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"loop6a" + }, + { + "name":"loop6b" + }, + { + "name":"serve6" + }, + { + "name":"loop7a" + }, + { + "name":"loop7b" + }, + { + "name":"serve7" + }, + { + "name":"loop8a" + }, + { + "name":"loop8b" + }, + { + "name":"serve8" + }, + { + "name":"loop9a" + }, + { + "name":"loop9b" + }, + { + "name":"serve9" + }, + { + "name":"loop10a" + }, + { + "name":"loop10b" + }, + { + "name":"serve10" + }, + { + "name":"loop11a" + }, + { + "name":"loop11b" + }, + { + "name":"serve11" + }, + { + "name":"loop12a" + }, + { + "name":"loop12b" + }, + { + "name":"serve12" + }, + { + "name":"loop13a" + }, + { + "name":"loop13b" + }, + { + "name":"serve13" + }, + { + "name":"loop14a" + }, + { + "name":"loop14b" + }, + { + "name":"serve14" + }, + { + "name":"loop15a" + }, + { + "name":"loop15b" + }, + { + "name":"serve15" + }, + { + "name":"loop16a" + }, + { + "name":"loop16b" + }, + { + "name":"serve16" + }, + { + "name":"loop17a" + }, + { + "name":"loop17b" + }, + { + "name":"serve17" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":17 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s16", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s17", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve14", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve15", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop16a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":16 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop16b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":16 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve16", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":16 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop17a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":17 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop17b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":17 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve17", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":17 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop14a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve14", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop15a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve15", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop16a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop16b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve16", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station17", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop17a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":17 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":17 + }, + "right":{ + "op":"/", + "left":1, + "right":17 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop17b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve17", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + }, + { + "automaton":"station6" + }, + { + "automaton":"station7" + }, + { + "automaton":"station8" + }, + { + "automaton":"station9" + }, + { + "automaton":"station10" + }, + { + "automaton":"station11" + }, + { + "automaton":"station12" + }, + { + "automaton":"station13" + }, + { + "automaton":"station14" + }, + { + "automaton":"station15" + }, + { + "automaton":"station16" + }, + { + "automaton":"station17" + } + ], + "syncs":[ + { + "synchronise":[ + "loop17a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop17a" + ], + "result":"loop17a" + }, + { + "synchronise":[ + "loop17b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop17b" + ], + "result":"loop17b" + }, + { + "synchronise":[ + "serve17", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve17" + ], + "result":"serve17" + }, + { + "synchronise":[ + "loop16a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop16a", + null + ], + "result":"loop16a" + }, + { + "synchronise":[ + "loop16b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop16b", + null + ], + "result":"loop16b" + }, + { + "synchronise":[ + "serve16", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve16", + null + ], + "result":"serve16" + }, + { + "synchronise":[ + "loop15a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop15a", + null, + null + ], + "result":"loop15a" + }, + { + "synchronise":[ + "loop15b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop15b", + null, + null + ], + "result":"loop15b" + }, + { + "synchronise":[ + "serve15", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve15", + null, + null + ], + "result":"serve15" + }, + { + "synchronise":[ + "loop14a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop14a", + null, + null, + null + ], + "result":"loop14a" + }, + { + "synchronise":[ + "loop14b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop14b", + null, + null, + null + ], + "result":"loop14b" + }, + { + "synchronise":[ + "serve14", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve14", + null, + null, + null + ], + "result":"serve14" + }, + { + "synchronise":[ + "loop13a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13a", + null, + null, + null, + null + ], + "result":"loop13a" + }, + { + "synchronise":[ + "loop13b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13b", + null, + null, + null, + null + ], + "result":"loop13b" + }, + { + "synchronise":[ + "serve13", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve13", + null, + null, + null, + null + ], + "result":"serve13" + }, + { + "synchronise":[ + "loop12a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12a", + null, + null, + null, + null, + null + ], + "result":"loop12a" + }, + { + "synchronise":[ + "loop12b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12b", + null, + null, + null, + null, + null + ], + "result":"loop12b" + }, + { + "synchronise":[ + "serve12", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve12", + null, + null, + null, + null, + null + ], + "result":"serve12" + }, + { + "synchronise":[ + "loop11a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11a", + null, + null, + null, + null, + null, + null + ], + "result":"loop11a" + }, + { + "synchronise":[ + "loop11b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11b", + null, + null, + null, + null, + null, + null + ], + "result":"loop11b" + }, + { + "synchronise":[ + "serve11", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve11", + null, + null, + null, + null, + null, + null + ], + "result":"serve11" + }, + { + "synchronise":[ + "loop10a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10a", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop10a" + }, + { + "synchronise":[ + "loop10b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10b", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop10b" + }, + { + "synchronise":[ + "serve10", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve10", + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve10" + }, + { + "synchronise":[ + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop9a" + }, + { + "synchronise":[ + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop9b" + }, + { + "synchronise":[ + "serve9", + null, + null, + null, + null, + null, + null, + null, + null, + "serve9", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve9" + }, + { + "synchronise":[ + "loop8a", + null, + null, + null, + null, + null, + null, + null, + "loop8a", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop8a" + }, + { + "synchronise":[ + "loop8b", + null, + null, + null, + null, + null, + null, + null, + "loop8b", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop8b" + }, + { + "synchronise":[ + "serve8", + null, + null, + null, + null, + null, + null, + null, + "serve8", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve8" + }, + { + "synchronise":[ + "loop7a", + null, + null, + null, + null, + null, + null, + "loop7a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop7a" + }, + { + "synchronise":[ + "loop7b", + null, + null, + null, + null, + null, + null, + "loop7b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop7b" + }, + { + "synchronise":[ + "serve7", + null, + null, + null, + null, + null, + null, + "serve7", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve7" + }, + { + "synchronise":[ + "loop6a", + null, + null, + null, + null, + null, + "loop6a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6a" + }, + { + "synchronise":[ + "loop6b", + null, + null, + null, + null, + null, + "loop6b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6b" + }, + { + "synchronise":[ + "serve6", + null, + null, + null, + null, + null, + "serve6", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve6" + }, + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll18.jani b/examples/exported-jani-models/poll18.jani new file mode 100644 index 000000000..6a787e4dd --- /dev/null +++ b/examples/exported-jani-models/poll18.jani @@ -0,0 +1,7637 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"loop6a" + }, + { + "name":"loop6b" + }, + { + "name":"serve6" + }, + { + "name":"loop7a" + }, + { + "name":"loop7b" + }, + { + "name":"serve7" + }, + { + "name":"loop8a" + }, + { + "name":"loop8b" + }, + { + "name":"serve8" + }, + { + "name":"loop9a" + }, + { + "name":"loop9b" + }, + { + "name":"serve9" + }, + { + "name":"loop10a" + }, + { + "name":"loop10b" + }, + { + "name":"serve10" + }, + { + "name":"loop11a" + }, + { + "name":"loop11b" + }, + { + "name":"serve11" + }, + { + "name":"loop12a" + }, + { + "name":"loop12b" + }, + { + "name":"serve12" + }, + { + "name":"loop13a" + }, + { + "name":"loop13b" + }, + { + "name":"serve13" + }, + { + "name":"loop14a" + }, + { + "name":"loop14b" + }, + { + "name":"serve14" + }, + { + "name":"loop15a" + }, + { + "name":"loop15b" + }, + { + "name":"serve15" + }, + { + "name":"loop16a" + }, + { + "name":"loop16b" + }, + { + "name":"serve16" + }, + { + "name":"loop17a" + }, + { + "name":"loop17b" + }, + { + "name":"serve17" + }, + { + "name":"loop18a" + }, + { + "name":"loop18b" + }, + { + "name":"serve18" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":18 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s16", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s17", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s18", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve14", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve15", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop16a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":16 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop16b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":16 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve16", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":16 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop17a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":17 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop17b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":17 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve17", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":17 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop18a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":18 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop18b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":18 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve18", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":18 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop14a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve14", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop15a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve15", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop16a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop16b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve16", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station17", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop17a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop17b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve17", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station18", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop18a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s18", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s18", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":18 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s18", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":18 + }, + "right":{ + "op":"/", + "left":1, + "right":18 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s18", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop18b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s18", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s18", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve18", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s18", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s18", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + }, + { + "automaton":"station6" + }, + { + "automaton":"station7" + }, + { + "automaton":"station8" + }, + { + "automaton":"station9" + }, + { + "automaton":"station10" + }, + { + "automaton":"station11" + }, + { + "automaton":"station12" + }, + { + "automaton":"station13" + }, + { + "automaton":"station14" + }, + { + "automaton":"station15" + }, + { + "automaton":"station16" + }, + { + "automaton":"station17" + }, + { + "automaton":"station18" + } + ], + "syncs":[ + { + "synchronise":[ + "loop18a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop18a" + ], + "result":"loop18a" + }, + { + "synchronise":[ + "loop18b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop18b" + ], + "result":"loop18b" + }, + { + "synchronise":[ + "serve18", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve18" + ], + "result":"serve18" + }, + { + "synchronise":[ + "loop17a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop17a", + null + ], + "result":"loop17a" + }, + { + "synchronise":[ + "loop17b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop17b", + null + ], + "result":"loop17b" + }, + { + "synchronise":[ + "serve17", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve17", + null + ], + "result":"serve17" + }, + { + "synchronise":[ + "loop16a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop16a", + null, + null + ], + "result":"loop16a" + }, + { + "synchronise":[ + "loop16b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop16b", + null, + null + ], + "result":"loop16b" + }, + { + "synchronise":[ + "serve16", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve16", + null, + null + ], + "result":"serve16" + }, + { + "synchronise":[ + "loop15a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop15a", + null, + null, + null + ], + "result":"loop15a" + }, + { + "synchronise":[ + "loop15b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop15b", + null, + null, + null + ], + "result":"loop15b" + }, + { + "synchronise":[ + "serve15", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve15", + null, + null, + null + ], + "result":"serve15" + }, + { + "synchronise":[ + "loop14a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop14a", + null, + null, + null, + null + ], + "result":"loop14a" + }, + { + "synchronise":[ + "loop14b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop14b", + null, + null, + null, + null + ], + "result":"loop14b" + }, + { + "synchronise":[ + "serve14", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve14", + null, + null, + null, + null + ], + "result":"serve14" + }, + { + "synchronise":[ + "loop13a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13a", + null, + null, + null, + null, + null + ], + "result":"loop13a" + }, + { + "synchronise":[ + "loop13b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13b", + null, + null, + null, + null, + null + ], + "result":"loop13b" + }, + { + "synchronise":[ + "serve13", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve13", + null, + null, + null, + null, + null + ], + "result":"serve13" + }, + { + "synchronise":[ + "loop12a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12a", + null, + null, + null, + null, + null, + null + ], + "result":"loop12a" + }, + { + "synchronise":[ + "loop12b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12b", + null, + null, + null, + null, + null, + null + ], + "result":"loop12b" + }, + { + "synchronise":[ + "serve12", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve12", + null, + null, + null, + null, + null, + null + ], + "result":"serve12" + }, + { + "synchronise":[ + "loop11a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11a", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop11a" + }, + { + "synchronise":[ + "loop11b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11b", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop11b" + }, + { + "synchronise":[ + "serve11", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve11", + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve11" + }, + { + "synchronise":[ + "loop10a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10a", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop10a" + }, + { + "synchronise":[ + "loop10b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10b", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop10b" + }, + { + "synchronise":[ + "serve10", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve10", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve10" + }, + { + "synchronise":[ + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop9a" + }, + { + "synchronise":[ + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop9b" + }, + { + "synchronise":[ + "serve9", + null, + null, + null, + null, + null, + null, + null, + null, + "serve9", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve9" + }, + { + "synchronise":[ + "loop8a", + null, + null, + null, + null, + null, + null, + null, + "loop8a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop8a" + }, + { + "synchronise":[ + "loop8b", + null, + null, + null, + null, + null, + null, + null, + "loop8b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop8b" + }, + { + "synchronise":[ + "serve8", + null, + null, + null, + null, + null, + null, + null, + "serve8", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve8" + }, + { + "synchronise":[ + "loop7a", + null, + null, + null, + null, + null, + null, + "loop7a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop7a" + }, + { + "synchronise":[ + "loop7b", + null, + null, + null, + null, + null, + null, + "loop7b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop7b" + }, + { + "synchronise":[ + "serve7", + null, + null, + null, + null, + null, + null, + "serve7", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve7" + }, + { + "synchronise":[ + "loop6a", + null, + null, + null, + null, + null, + "loop6a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6a" + }, + { + "synchronise":[ + "loop6b", + null, + null, + null, + null, + null, + "loop6b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6b" + }, + { + "synchronise":[ + "serve6", + null, + null, + null, + null, + null, + "serve6", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve6" + }, + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll19.jani b/examples/exported-jani-models/poll19.jani new file mode 100644 index 000000000..a7c1b43fa --- /dev/null +++ b/examples/exported-jani-models/poll19.jani @@ -0,0 +1,8131 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"loop6a" + }, + { + "name":"loop6b" + }, + { + "name":"serve6" + }, + { + "name":"loop7a" + }, + { + "name":"loop7b" + }, + { + "name":"serve7" + }, + { + "name":"loop8a" + }, + { + "name":"loop8b" + }, + { + "name":"serve8" + }, + { + "name":"loop9a" + }, + { + "name":"loop9b" + }, + { + "name":"serve9" + }, + { + "name":"loop10a" + }, + { + "name":"loop10b" + }, + { + "name":"serve10" + }, + { + "name":"loop11a" + }, + { + "name":"loop11b" + }, + { + "name":"serve11" + }, + { + "name":"loop12a" + }, + { + "name":"loop12b" + }, + { + "name":"serve12" + }, + { + "name":"loop13a" + }, + { + "name":"loop13b" + }, + { + "name":"serve13" + }, + { + "name":"loop14a" + }, + { + "name":"loop14b" + }, + { + "name":"serve14" + }, + { + "name":"loop15a" + }, + { + "name":"loop15b" + }, + { + "name":"serve15" + }, + { + "name":"loop16a" + }, + { + "name":"loop16b" + }, + { + "name":"serve16" + }, + { + "name":"loop17a" + }, + { + "name":"loop17b" + }, + { + "name":"serve17" + }, + { + "name":"loop18a" + }, + { + "name":"loop18b" + }, + { + "name":"serve18" + }, + { + "name":"loop19a" + }, + { + "name":"loop19b" + }, + { + "name":"serve19" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":19 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s19", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s16", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s17", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s18", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s19", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve14", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve15", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop16a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":16 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop16b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":16 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve16", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":16 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop17a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":17 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop17b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":17 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve17", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":17 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop18a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":18 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop18b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":18 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve18", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":18 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop19a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":19 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop19b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":19 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve19", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":19 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop14a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve14", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop15a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve15", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop16a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop16b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve16", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station17", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop17a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop17b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve17", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station18", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop18a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s18", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s18", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s18", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s18", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop18b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s18", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s18", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve18", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s18", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s18", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station19", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop19a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s19", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s19", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":19 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s19", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":19 + }, + "right":{ + "op":"/", + "left":1, + "right":19 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s19", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop19b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s19", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s19", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve19", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s19", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s19", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + }, + { + "automaton":"station6" + }, + { + "automaton":"station7" + }, + { + "automaton":"station8" + }, + { + "automaton":"station9" + }, + { + "automaton":"station10" + }, + { + "automaton":"station11" + }, + { + "automaton":"station12" + }, + { + "automaton":"station13" + }, + { + "automaton":"station14" + }, + { + "automaton":"station15" + }, + { + "automaton":"station16" + }, + { + "automaton":"station17" + }, + { + "automaton":"station18" + }, + { + "automaton":"station19" + } + ], + "syncs":[ + { + "synchronise":[ + "loop19a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop19a" + ], + "result":"loop19a" + }, + { + "synchronise":[ + "loop19b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop19b" + ], + "result":"loop19b" + }, + { + "synchronise":[ + "serve19", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve19" + ], + "result":"serve19" + }, + { + "synchronise":[ + "loop18a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop18a", + null + ], + "result":"loop18a" + }, + { + "synchronise":[ + "loop18b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop18b", + null + ], + "result":"loop18b" + }, + { + "synchronise":[ + "serve18", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve18", + null + ], + "result":"serve18" + }, + { + "synchronise":[ + "loop17a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop17a", + null, + null + ], + "result":"loop17a" + }, + { + "synchronise":[ + "loop17b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop17b", + null, + null + ], + "result":"loop17b" + }, + { + "synchronise":[ + "serve17", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve17", + null, + null + ], + "result":"serve17" + }, + { + "synchronise":[ + "loop16a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop16a", + null, + null, + null + ], + "result":"loop16a" + }, + { + "synchronise":[ + "loop16b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop16b", + null, + null, + null + ], + "result":"loop16b" + }, + { + "synchronise":[ + "serve16", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve16", + null, + null, + null + ], + "result":"serve16" + }, + { + "synchronise":[ + "loop15a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop15a", + null, + null, + null, + null + ], + "result":"loop15a" + }, + { + "synchronise":[ + "loop15b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop15b", + null, + null, + null, + null + ], + "result":"loop15b" + }, + { + "synchronise":[ + "serve15", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve15", + null, + null, + null, + null + ], + "result":"serve15" + }, + { + "synchronise":[ + "loop14a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop14a", + null, + null, + null, + null, + null + ], + "result":"loop14a" + }, + { + "synchronise":[ + "loop14b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop14b", + null, + null, + null, + null, + null + ], + "result":"loop14b" + }, + { + "synchronise":[ + "serve14", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve14", + null, + null, + null, + null, + null + ], + "result":"serve14" + }, + { + "synchronise":[ + "loop13a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13a", + null, + null, + null, + null, + null, + null + ], + "result":"loop13a" + }, + { + "synchronise":[ + "loop13b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13b", + null, + null, + null, + null, + null, + null + ], + "result":"loop13b" + }, + { + "synchronise":[ + "serve13", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve13", + null, + null, + null, + null, + null, + null + ], + "result":"serve13" + }, + { + "synchronise":[ + "loop12a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12a", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop12a" + }, + { + "synchronise":[ + "loop12b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12b", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop12b" + }, + { + "synchronise":[ + "serve12", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve12", + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve12" + }, + { + "synchronise":[ + "loop11a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11a", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop11a" + }, + { + "synchronise":[ + "loop11b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11b", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop11b" + }, + { + "synchronise":[ + "serve11", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve11", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve11" + }, + { + "synchronise":[ + "loop10a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10a", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop10a" + }, + { + "synchronise":[ + "loop10b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10b", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop10b" + }, + { + "synchronise":[ + "serve10", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve10", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve10" + }, + { + "synchronise":[ + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop9a" + }, + { + "synchronise":[ + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop9b" + }, + { + "synchronise":[ + "serve9", + null, + null, + null, + null, + null, + null, + null, + null, + "serve9", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve9" + }, + { + "synchronise":[ + "loop8a", + null, + null, + null, + null, + null, + null, + null, + "loop8a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop8a" + }, + { + "synchronise":[ + "loop8b", + null, + null, + null, + null, + null, + null, + null, + "loop8b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop8b" + }, + { + "synchronise":[ + "serve8", + null, + null, + null, + null, + null, + null, + null, + "serve8", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve8" + }, + { + "synchronise":[ + "loop7a", + null, + null, + null, + null, + null, + null, + "loop7a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop7a" + }, + { + "synchronise":[ + "loop7b", + null, + null, + null, + null, + null, + null, + "loop7b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop7b" + }, + { + "synchronise":[ + "serve7", + null, + null, + null, + null, + null, + null, + "serve7", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve7" + }, + { + "synchronise":[ + "loop6a", + null, + null, + null, + null, + null, + "loop6a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6a" + }, + { + "synchronise":[ + "loop6b", + null, + null, + null, + null, + null, + "loop6b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6b" + }, + { + "synchronise":[ + "serve6", + null, + null, + null, + null, + null, + "serve6", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve6" + }, + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll2.jani b/examples/exported-jani-models/poll2.jani new file mode 100644 index 000000000..817864aea --- /dev/null +++ b/examples/exported-jani-models/poll2.jani @@ -0,0 +1,821 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":2 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "loop2a", + null, + "loop2a" + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b" + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2" + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll20.jani b/examples/exported-jani-models/poll20.jani new file mode 100644 index 000000000..e7095ad83 --- /dev/null +++ b/examples/exported-jani-models/poll20.jani @@ -0,0 +1,8633 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"loop6a" + }, + { + "name":"loop6b" + }, + { + "name":"serve6" + }, + { + "name":"loop7a" + }, + { + "name":"loop7b" + }, + { + "name":"serve7" + }, + { + "name":"loop8a" + }, + { + "name":"loop8b" + }, + { + "name":"serve8" + }, + { + "name":"loop9a" + }, + { + "name":"loop9b" + }, + { + "name":"serve9" + }, + { + "name":"loop10a" + }, + { + "name":"loop10b" + }, + { + "name":"serve10" + }, + { + "name":"loop11a" + }, + { + "name":"loop11b" + }, + { + "name":"serve11" + }, + { + "name":"loop12a" + }, + { + "name":"loop12b" + }, + { + "name":"serve12" + }, + { + "name":"loop13a" + }, + { + "name":"loop13b" + }, + { + "name":"serve13" + }, + { + "name":"loop14a" + }, + { + "name":"loop14b" + }, + { + "name":"serve14" + }, + { + "name":"loop15a" + }, + { + "name":"loop15b" + }, + { + "name":"serve15" + }, + { + "name":"loop16a" + }, + { + "name":"loop16b" + }, + { + "name":"serve16" + }, + { + "name":"loop17a" + }, + { + "name":"loop17b" + }, + { + "name":"serve17" + }, + { + "name":"loop18a" + }, + { + "name":"loop18b" + }, + { + "name":"serve18" + }, + { + "name":"loop19a" + }, + { + "name":"loop19b" + }, + { + "name":"serve19" + }, + { + "name":"loop20a" + }, + { + "name":"loop20b" + }, + { + "name":"serve20" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":20 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s19", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s20", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s16", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s17", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s18", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s19", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s20", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":10 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":11 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":12 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":13 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve14", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":14 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve15", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":15 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop16a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":16 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop16b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":16 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve16", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":16 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop17a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":17 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop17b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":17 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve17", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":17 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop18a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":18 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop18b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":18 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve18", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":18 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop19a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":19 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop19b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":19 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve19", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":19 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop20a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":20 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop20b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":20 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve20", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":20 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop10a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop10b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve10", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s10", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop11a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop11b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve11", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop12a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop12b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve12", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop13a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop13b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve13", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station14", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop14a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop14b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve14", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s14", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s14", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station15", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop15a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop15b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve15", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s15", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s15", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station16", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop16a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop16b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve16", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s16", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s16", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station17", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop17a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop17b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve17", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s17", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s17", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station18", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop18a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s18", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s18", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s18", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s18", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop18b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s18", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s18", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve18", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s18", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s18", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station19", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop19a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s19", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s19", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s19", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s19", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop19b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s19", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s19", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve19", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s19", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s19", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station20", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop20a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s20", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s20", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":20 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s20", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":20 + }, + "right":{ + "op":"/", + "left":1, + "right":20 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s20", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop20b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s20", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s20", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve20", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s20", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s20", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + }, + { + "automaton":"station6" + }, + { + "automaton":"station7" + }, + { + "automaton":"station8" + }, + { + "automaton":"station9" + }, + { + "automaton":"station10" + }, + { + "automaton":"station11" + }, + { + "automaton":"station12" + }, + { + "automaton":"station13" + }, + { + "automaton":"station14" + }, + { + "automaton":"station15" + }, + { + "automaton":"station16" + }, + { + "automaton":"station17" + }, + { + "automaton":"station18" + }, + { + "automaton":"station19" + }, + { + "automaton":"station20" + } + ], + "syncs":[ + { + "synchronise":[ + "loop20a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop20a" + ], + "result":"loop20a" + }, + { + "synchronise":[ + "loop20b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop20b" + ], + "result":"loop20b" + }, + { + "synchronise":[ + "serve20", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve20" + ], + "result":"serve20" + }, + { + "synchronise":[ + "loop19a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop19a", + null + ], + "result":"loop19a" + }, + { + "synchronise":[ + "loop19b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop19b", + null + ], + "result":"loop19b" + }, + { + "synchronise":[ + "serve19", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve19", + null + ], + "result":"serve19" + }, + { + "synchronise":[ + "loop18a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop18a", + null, + null + ], + "result":"loop18a" + }, + { + "synchronise":[ + "loop18b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop18b", + null, + null + ], + "result":"loop18b" + }, + { + "synchronise":[ + "serve18", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve18", + null, + null + ], + "result":"serve18" + }, + { + "synchronise":[ + "loop17a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop17a", + null, + null, + null + ], + "result":"loop17a" + }, + { + "synchronise":[ + "loop17b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop17b", + null, + null, + null + ], + "result":"loop17b" + }, + { + "synchronise":[ + "serve17", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve17", + null, + null, + null + ], + "result":"serve17" + }, + { + "synchronise":[ + "loop16a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop16a", + null, + null, + null, + null + ], + "result":"loop16a" + }, + { + "synchronise":[ + "loop16b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop16b", + null, + null, + null, + null + ], + "result":"loop16b" + }, + { + "synchronise":[ + "serve16", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve16", + null, + null, + null, + null + ], + "result":"serve16" + }, + { + "synchronise":[ + "loop15a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop15a", + null, + null, + null, + null, + null + ], + "result":"loop15a" + }, + { + "synchronise":[ + "loop15b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop15b", + null, + null, + null, + null, + null + ], + "result":"loop15b" + }, + { + "synchronise":[ + "serve15", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve15", + null, + null, + null, + null, + null + ], + "result":"serve15" + }, + { + "synchronise":[ + "loop14a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop14a", + null, + null, + null, + null, + null, + null + ], + "result":"loop14a" + }, + { + "synchronise":[ + "loop14b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop14b", + null, + null, + null, + null, + null, + null + ], + "result":"loop14b" + }, + { + "synchronise":[ + "serve14", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve14", + null, + null, + null, + null, + null, + null + ], + "result":"serve14" + }, + { + "synchronise":[ + "loop13a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13a", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop13a" + }, + { + "synchronise":[ + "loop13b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop13b", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop13b" + }, + { + "synchronise":[ + "serve13", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve13", + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve13" + }, + { + "synchronise":[ + "loop12a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12a", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop12a" + }, + { + "synchronise":[ + "loop12b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop12b", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop12b" + }, + { + "synchronise":[ + "serve12", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve12", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve12" + }, + { + "synchronise":[ + "loop11a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11a", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop11a" + }, + { + "synchronise":[ + "loop11b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop11b", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop11b" + }, + { + "synchronise":[ + "serve11", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve11", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve11" + }, + { + "synchronise":[ + "loop10a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop10a" + }, + { + "synchronise":[ + "loop10b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "loop10b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop10b" + }, + { + "synchronise":[ + "serve10", + null, + null, + null, + null, + null, + null, + null, + null, + null, + "serve10", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve10" + }, + { + "synchronise":[ + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop9a" + }, + { + "synchronise":[ + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop9b" + }, + { + "synchronise":[ + "serve9", + null, + null, + null, + null, + null, + null, + null, + null, + "serve9", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve9" + }, + { + "synchronise":[ + "loop8a", + null, + null, + null, + null, + null, + null, + null, + "loop8a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop8a" + }, + { + "synchronise":[ + "loop8b", + null, + null, + null, + null, + null, + null, + null, + "loop8b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop8b" + }, + { + "synchronise":[ + "serve8", + null, + null, + null, + null, + null, + null, + null, + "serve8", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve8" + }, + { + "synchronise":[ + "loop7a", + null, + null, + null, + null, + null, + null, + "loop7a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop7a" + }, + { + "synchronise":[ + "loop7b", + null, + null, + null, + null, + null, + null, + "loop7b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop7b" + }, + { + "synchronise":[ + "serve7", + null, + null, + null, + null, + null, + null, + "serve7", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve7" + }, + { + "synchronise":[ + "loop6a", + null, + null, + null, + null, + null, + "loop6a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6a" + }, + { + "synchronise":[ + "loop6b", + null, + null, + null, + null, + null, + "loop6b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop6b" + }, + { + "synchronise":[ + "serve6", + null, + null, + null, + null, + null, + "serve6", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve6" + }, + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll3.jani b/examples/exported-jani-models/poll3.jani new file mode 100644 index 000000000..17e2b9685 --- /dev/null +++ b/examples/exported-jani-models/poll3.jani @@ -0,0 +1,1187 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":3 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"/", + "left":1, + "right":3 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"/", + "left":1, + "right":3 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"/", + "left":1, + "right":3 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + } + ], + "syncs":[ + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a" + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b" + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3" + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll4.jani b/examples/exported-jani-models/poll4.jani new file mode 100644 index 000000000..7a99c46dd --- /dev/null +++ b/examples/exported-jani-models/poll4.jani @@ -0,0 +1,1561 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":4 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":4 + }, + "right":{ + "op":"/", + "left":1, + "right":4 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":4 + }, + "right":{ + "op":"/", + "left":1, + "right":4 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":4 + }, + "right":{ + "op":"/", + "left":1, + "right":4 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":4 + }, + "right":{ + "op":"/", + "left":1, + "right":4 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + } + ], + "syncs":[ + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a" + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b" + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4" + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll5.jani b/examples/exported-jani-models/poll5.jani new file mode 100644 index 000000000..d6f1914d4 --- /dev/null +++ b/examples/exported-jani-models/poll5.jani @@ -0,0 +1,1943 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":5 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":5 + }, + "right":{ + "op":"/", + "left":1, + "right":5 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":5 + }, + "right":{ + "op":"/", + "left":1, + "right":5 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":5 + }, + "right":{ + "op":"/", + "left":1, + "right":5 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":5 + }, + "right":{ + "op":"/", + "left":1, + "right":5 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":5 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":5 + }, + "right":{ + "op":"/", + "left":1, + "right":5 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + } + ], + "syncs":[ + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a" + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b" + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5" + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll6.jani b/examples/exported-jani-models/poll6.jani new file mode 100644 index 000000000..89cf3c81a --- /dev/null +++ b/examples/exported-jani-models/poll6.jani @@ -0,0 +1,2333 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"loop6a" + }, + { + "name":"loop6b" + }, + { + "name":"serve6" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":6 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":6 + }, + "right":{ + "op":"/", + "left":1, + "right":6 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":6 + }, + "right":{ + "op":"/", + "left":1, + "right":6 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":6 + }, + "right":{ + "op":"/", + "left":1, + "right":6 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":6 + }, + "right":{ + "op":"/", + "left":1, + "right":6 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":6 + }, + "right":{ + "op":"/", + "left":1, + "right":6 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":6 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":6 + }, + "right":{ + "op":"/", + "left":1, + "right":6 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + }, + { + "automaton":"station6" + } + ], + "syncs":[ + { + "synchronise":[ + "loop6a", + null, + null, + null, + null, + null, + "loop6a" + ], + "result":"loop6a" + }, + { + "synchronise":[ + "loop6b", + null, + null, + null, + null, + null, + "loop6b" + ], + "result":"loop6b" + }, + { + "synchronise":[ + "serve6", + null, + null, + null, + null, + null, + "serve6" + ], + "result":"serve6" + }, + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a", + null + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b", + null + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5", + null + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null, + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null, + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null, + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll7.jani b/examples/exported-jani-models/poll7.jani new file mode 100644 index 000000000..9dc3fbb7f --- /dev/null +++ b/examples/exported-jani-models/poll7.jani @@ -0,0 +1,2731 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"loop6a" + }, + { + "name":"loop6b" + }, + { + "name":"serve6" + }, + { + "name":"loop7a" + }, + { + "name":"loop7b" + }, + { + "name":"serve7" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":7 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":7 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":7 + }, + "right":{ + "op":"/", + "left":1, + "right":7 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":7 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":7 + }, + "right":{ + "op":"/", + "left":1, + "right":7 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":7 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":7 + }, + "right":{ + "op":"/", + "left":1, + "right":7 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":7 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":7 + }, + "right":{ + "op":"/", + "left":1, + "right":7 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":7 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":7 + }, + "right":{ + "op":"/", + "left":1, + "right":7 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":7 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":7 + }, + "right":{ + "op":"/", + "left":1, + "right":7 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":7 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":7 + }, + "right":{ + "op":"/", + "left":1, + "right":7 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + }, + { + "automaton":"station6" + }, + { + "automaton":"station7" + } + ], + "syncs":[ + { + "synchronise":[ + "loop7a", + null, + null, + null, + null, + null, + null, + "loop7a" + ], + "result":"loop7a" + }, + { + "synchronise":[ + "loop7b", + null, + null, + null, + null, + null, + null, + "loop7b" + ], + "result":"loop7b" + }, + { + "synchronise":[ + "serve7", + null, + null, + null, + null, + null, + null, + "serve7" + ], + "result":"serve7" + }, + { + "synchronise":[ + "loop6a", + null, + null, + null, + null, + null, + "loop6a", + null + ], + "result":"loop6a" + }, + { + "synchronise":[ + "loop6b", + null, + null, + null, + null, + null, + "loop6b", + null + ], + "result":"loop6b" + }, + { + "synchronise":[ + "serve6", + null, + null, + null, + null, + null, + "serve6", + null + ], + "result":"serve6" + }, + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a", + null, + null + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b", + null, + null + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5", + null, + null + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null, + null, + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null, + null, + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null, + null, + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null, + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null, + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null, + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll8.jani b/examples/exported-jani-models/poll8.jani new file mode 100644 index 000000000..18edd89c9 --- /dev/null +++ b/examples/exported-jani-models/poll8.jani @@ -0,0 +1,3137 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"loop6a" + }, + { + "name":"loop6b" + }, + { + "name":"serve6" + }, + { + "name":"loop7a" + }, + { + "name":"loop7b" + }, + { + "name":"serve7" + }, + { + "name":"loop8a" + }, + { + "name":"loop8b" + }, + { + "name":"serve8" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":8 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":8 + }, + "right":{ + "op":"/", + "left":1, + "right":8 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":8 + }, + "right":{ + "op":"/", + "left":1, + "right":8 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":8 + }, + "right":{ + "op":"/", + "left":1, + "right":8 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":8 + }, + "right":{ + "op":"/", + "left":1, + "right":8 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":8 + }, + "right":{ + "op":"/", + "left":1, + "right":8 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":8 + }, + "right":{ + "op":"/", + "left":1, + "right":8 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":8 + }, + "right":{ + "op":"/", + "left":1, + "right":8 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":8 + }, + "right":{ + "op":"/", + "left":1, + "right":8 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + }, + { + "automaton":"station6" + }, + { + "automaton":"station7" + }, + { + "automaton":"station8" + } + ], + "syncs":[ + { + "synchronise":[ + "loop8a", + null, + null, + null, + null, + null, + null, + null, + "loop8a" + ], + "result":"loop8a" + }, + { + "synchronise":[ + "loop8b", + null, + null, + null, + null, + null, + null, + null, + "loop8b" + ], + "result":"loop8b" + }, + { + "synchronise":[ + "serve8", + null, + null, + null, + null, + null, + null, + null, + "serve8" + ], + "result":"serve8" + }, + { + "synchronise":[ + "loop7a", + null, + null, + null, + null, + null, + null, + "loop7a", + null + ], + "result":"loop7a" + }, + { + "synchronise":[ + "loop7b", + null, + null, + null, + null, + null, + null, + "loop7b", + null + ], + "result":"loop7b" + }, + { + "synchronise":[ + "serve7", + null, + null, + null, + null, + null, + null, + "serve7", + null + ], + "result":"serve7" + }, + { + "synchronise":[ + "loop6a", + null, + null, + null, + null, + null, + "loop6a", + null, + null + ], + "result":"loop6a" + }, + { + "synchronise":[ + "loop6b", + null, + null, + null, + null, + null, + "loop6b", + null, + null + ], + "result":"loop6b" + }, + { + "synchronise":[ + "serve6", + null, + null, + null, + null, + null, + "serve6", + null, + null + ], + "result":"serve6" + }, + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a", + null, + null, + null + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b", + null, + null, + null + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5", + null, + null, + null + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null, + null, + null, + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null, + null, + null, + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null, + null, + null, + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null, + null, + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null, + null, + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null, + null, + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null, + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null, + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null, + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/poll9.jani b/examples/exported-jani-models/poll9.jani new file mode 100644 index 000000000..844a3c2ec --- /dev/null +++ b/examples/exported-jani-models/poll9.jani @@ -0,0 +1,3551 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"loop1a" + }, + { + "name":"loop1b" + }, + { + "name":"serve1" + }, + { + "name":"loop2a" + }, + { + "name":"loop2b" + }, + { + "name":"serve2" + }, + { + "name":"loop3a" + }, + { + "name":"loop3b" + }, + { + "name":"serve3" + }, + { + "name":"loop4a" + }, + { + "name":"loop4b" + }, + { + "name":"serve4" + }, + { + "name":"loop5a" + }, + { + "name":"loop5b" + }, + { + "name":"serve5" + }, + { + "name":"loop6a" + }, + { + "name":"loop6b" + }, + { + "name":"serve6" + }, + { + "name":"loop7a" + }, + { + "name":"loop7b" + }, + { + "name":"serve7" + }, + { + "name":"loop8a" + }, + { + "name":"loop8b" + }, + { + "name":"serve8" + }, + { + "name":"loop9a" + }, + { + "name":"loop9b" + }, + { + "name":"serve9" + }, + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":9 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"s9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"waiting\"" + }, + { + "name":"\"served\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s9", + "right":0 + } + } + }, + "automata":[ + { + "name":"server", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"waiting\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + { + "ref":"\"served\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":4 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":6 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":7 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":8 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":{ + "op":"+", + "left":"s", + "right":1 + } + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":200 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":200, + "right":200 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":9 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"a", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop1a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":9 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":9 + }, + "right":{ + "op":"/", + "left":1, + "right":9 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop1b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve1", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop2a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":9 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":9 + }, + "right":{ + "op":"/", + "left":1, + "right":9 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop2b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve2", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop3a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":9 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":9 + }, + "right":{ + "op":"/", + "left":1, + "right":9 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop3b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve3", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s3", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop4a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":9 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":9 + }, + "right":{ + "op":"/", + "left":1, + "right":9 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop4b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve4", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s4", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop5a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":9 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":9 + }, + "right":{ + "op":"/", + "left":1, + "right":9 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop5b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve5", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s5", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop6a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":9 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":9 + }, + "right":{ + "op":"/", + "left":1, + "right":9 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop6b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve6", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s6", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop7a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":9 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":9 + }, + "right":{ + "op":"/", + "left":1, + "right":9 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop7b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve7", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s7", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop8a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":9 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":9 + }, + "right":{ + "op":"/", + "left":1, + "right":9 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop8b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve8", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s8", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"station9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"loop9a", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":9 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":9 + }, + "right":{ + "op":"/", + "left":1, + "right":9 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop9b", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"serve9", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"s9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s9", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"server" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + }, + { + "automaton":"station3" + }, + { + "automaton":"station4" + }, + { + "automaton":"station5" + }, + { + "automaton":"station6" + }, + { + "automaton":"station7" + }, + { + "automaton":"station8" + }, + { + "automaton":"station9" + } + ], + "syncs":[ + { + "synchronise":[ + "loop9a", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9a" + ], + "result":"loop9a" + }, + { + "synchronise":[ + "loop9b", + null, + null, + null, + null, + null, + null, + null, + null, + "loop9b" + ], + "result":"loop9b" + }, + { + "synchronise":[ + "serve9", + null, + null, + null, + null, + null, + null, + null, + null, + "serve9" + ], + "result":"serve9" + }, + { + "synchronise":[ + "loop8a", + null, + null, + null, + null, + null, + null, + null, + "loop8a", + null + ], + "result":"loop8a" + }, + { + "synchronise":[ + "loop8b", + null, + null, + null, + null, + null, + null, + null, + "loop8b", + null + ], + "result":"loop8b" + }, + { + "synchronise":[ + "serve8", + null, + null, + null, + null, + null, + null, + null, + "serve8", + null + ], + "result":"serve8" + }, + { + "synchronise":[ + "loop7a", + null, + null, + null, + null, + null, + null, + "loop7a", + null, + null + ], + "result":"loop7a" + }, + { + "synchronise":[ + "loop7b", + null, + null, + null, + null, + null, + null, + "loop7b", + null, + null + ], + "result":"loop7b" + }, + { + "synchronise":[ + "serve7", + null, + null, + null, + null, + null, + null, + "serve7", + null, + null + ], + "result":"serve7" + }, + { + "synchronise":[ + "loop6a", + null, + null, + null, + null, + null, + "loop6a", + null, + null, + null + ], + "result":"loop6a" + }, + { + "synchronise":[ + "loop6b", + null, + null, + null, + null, + null, + "loop6b", + null, + null, + null + ], + "result":"loop6b" + }, + { + "synchronise":[ + "serve6", + null, + null, + null, + null, + null, + "serve6", + null, + null, + null + ], + "result":"serve6" + }, + { + "synchronise":[ + "loop5a", + null, + null, + null, + null, + "loop5a", + null, + null, + null, + null + ], + "result":"loop5a" + }, + { + "synchronise":[ + "loop5b", + null, + null, + null, + null, + "loop5b", + null, + null, + null, + null + ], + "result":"loop5b" + }, + { + "synchronise":[ + "serve5", + null, + null, + null, + null, + "serve5", + null, + null, + null, + null + ], + "result":"serve5" + }, + { + "synchronise":[ + "loop4a", + null, + null, + null, + "loop4a", + null, + null, + null, + null, + null + ], + "result":"loop4a" + }, + { + "synchronise":[ + "loop4b", + null, + null, + null, + "loop4b", + null, + null, + null, + null, + null + ], + "result":"loop4b" + }, + { + "synchronise":[ + "serve4", + null, + null, + null, + "serve4", + null, + null, + null, + null, + null + ], + "result":"serve4" + }, + { + "synchronise":[ + "loop3a", + null, + null, + "loop3a", + null, + null, + null, + null, + null, + null + ], + "result":"loop3a" + }, + { + "synchronise":[ + "loop3b", + null, + null, + "loop3b", + null, + null, + null, + null, + null, + null + ], + "result":"loop3b" + }, + { + "synchronise":[ + "serve3", + null, + null, + "serve3", + null, + null, + null, + null, + null, + null + ], + "result":"serve3" + }, + { + "synchronise":[ + "loop2a", + null, + "loop2a", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2a" + }, + { + "synchronise":[ + "loop2b", + null, + "loop2b", + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop2b" + }, + { + "synchronise":[ + "serve2", + null, + "serve2", + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve2" + }, + { + "synchronise":[ + "loop1a", + "loop1a", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1a" + }, + { + "synchronise":[ + "loop1b", + "loop1b", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"loop1b" + }, + { + "synchronise":[ + "serve1", + "serve1", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"serve1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/pta_csma.jani.REMOVED.git-id b/examples/exported-jani-models/pta_csma.jani.REMOVED.git-id new file mode 100644 index 000000000..8c53592b0 --- /dev/null +++ b/examples/exported-jani-models/pta_csma.jani.REMOVED.git-id @@ -0,0 +1 @@ +c259df31f71522efd8e973a1199e163d6250e31d \ No newline at end of file diff --git a/examples/exported-jani-models/pta_firewire.jani b/examples/exported-jani-models/pta_firewire.jani new file mode 100644 index 000000000..8b3ce8f75 --- /dev/null +++ b/examples/exported-jani-models/pta_firewire.jani @@ -0,0 +1,3527 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"pta", + "actions":[ + { + "name":"snd_req12" + }, + { + "name":"snd_ack12" + }, + { + "name":"snd_idle12" + }, + { + "name":"rec_req12" + }, + { + "name":"rec_ack12" + }, + { + "name":"rec_idle12" + }, + { + "name":"rec_idle21" + }, + { + "name":"rec_req21" + }, + { + "name":"rec_ack21" + }, + { + "name":"loop" + }, + { + "name":"snd_req21" + }, + { + "name":"snd_ack21" + }, + { + "name":"snd_idle21" + } + ], + "constants":[ + { + "name":"delay", + "type":"int" + } + ], + "variables":[ + { + "name":"w12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":9 + } + }, + { + "name":"y1", + "type":"clock" + }, + { + "name":"y2", + "type":"clock" + }, + { + "name":"x1", + "type":"clock" + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"w21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":9 + } + }, + { + "name":"z1", + "type":"clock" + }, + { + "name":"z2", + "type":"clock" + }, + { + "name":"x2", + "type":"clock" + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + } + ], + "observables":[ + { + "name":"\"time\"" + }, + { + "name":"\"time_sending\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w12", + "right":0 + }, + "right":{ + "op":"=", + "left":"y1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"w21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"z1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"z2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + } + }, + "automata":[ + { + "name":"wire12", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"time\"", + "value":1 + }, + { + "ref":"\"time_sending\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":">", + "left":"w12", + "right":0 + }, + "right":{ + "op":">", + "left":"w21", + "right":0 + } + }, + 1, + 0 + ] + } + } + ], + "invariant":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w12", + "right":1 + }, + "right":{ + "op":"≤", + "left":"y2", + "right":"delay" + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w12", + "right":2 + }, + "right":{ + "op":"≤", + "left":"y1", + "right":"delay" + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w12", + "right":3 + }, + "right":{ + "op":"≤", + "left":"y2", + "right":"delay" + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w12", + "right":4 + }, + "right":{ + "op":"≤", + "left":"y1", + "right":"delay" + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w12", + "right":5 + }, + "right":{ + "op":"≤", + "left":"y2", + "right":"delay" + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w12", + "right":6 + }, + "right":{ + "op":"≤", + "left":"y1", + "right":"delay" + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w12", + "right":7 + }, + "right":{ + "op":"≤", + "left":"y1", + "right":"delay" + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w12", + "right":8 + }, + "right":{ + "op":"≤", + "left":"y1", + "right":"delay" + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w12", + "right":9 + }, + "right":{ + "op":"≤", + "left":"y1", + "right":"delay" + } + } + } + } + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":1 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":3 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":5 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":0 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":2 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":8 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":0 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":4 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":7 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":0 + }, + { + "ref":"y1", + "value":0 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":6 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":9 + }, + { + "ref":"y2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"w12", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w12", + "value":3 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"node1", + "locations":[ + { + "name":"location", + "invariant":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"≤", + "left":"x1", + "right":850 + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"≤", + "left":"x1", + "right":1670 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"s1", + "right":4 + }, + "right":{ + "op":"≤", + "left":"x1", + "right":850 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"≤", + "left":"x1", + "right":1670 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":"≤", + "left":"x1", + "right":0 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"≤", + "left":"x1", + "right":0 + } + } + } + } + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle21", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req21", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":760 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":1590 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":4 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":760 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_req12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":1590 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":0 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"wire21", + "locations":[ + { + "name":"location", + "invariant":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w21", + "right":1 + }, + "right":{ + "op":"≤", + "left":"z2", + "right":"delay" + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w21", + "right":2 + }, + "right":{ + "op":"≤", + "left":"z1", + "right":"delay" + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w21", + "right":3 + }, + "right":{ + "op":"≤", + "left":"z2", + "right":"delay" + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w21", + "right":4 + }, + "right":{ + "op":"≤", + "left":"z1", + "right":"delay" + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w21", + "right":5 + }, + "right":{ + "op":"≤", + "left":"z2", + "right":"delay" + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w21", + "right":6 + }, + "right":{ + "op":"≤", + "left":"z1", + "right":"delay" + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w21", + "right":7 + }, + "right":{ + "op":"≤", + "left":"z1", + "right":"delay" + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w21", + "right":8 + }, + "right":{ + "op":"≤", + "left":"z1", + "right":"delay" + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"w21", + "right":9 + }, + "right":{ + "op":"≤", + "left":"z1", + "right":"delay" + } + } + } + } + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":1 + }, + { + "ref":"z1", + "value":0 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":3 + }, + { + "ref":"z1", + "value":0 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":5 + }, + { + "ref":"z1", + "value":0 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":0 + }, + { + "ref":"z1", + "value":0 + }, + { + "ref":"z2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":2 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":8 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":0 + }, + { + "ref":"z1", + "value":0 + }, + { + "ref":"z2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":4 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":7 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":0 + }, + { + "ref":"z1", + "value":0 + }, + { + "ref":"z2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":6 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":9 + }, + { + "ref":"z2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_req21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle21", + "guard":{ + "exp":{ + "op":"=", + "left":"w21", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"w21", + "value":3 + } + ] + } + ] + } + ] + }, + { + "name":"node2", + "locations":[ + { + "name":"location", + "invariant":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"≤", + "left":"x2", + "right":850 + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"≤", + "left":"x2", + "right":1670 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"s2", + "right":4 + }, + "right":{ + "op":"≤", + "left":"x2", + "right":850 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"≤", + "left":"x2", + "right":1670 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":"≤", + "left":"x2", + "right":0 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"≤", + "left":"x2", + "right":0 + } + } + } + } + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":0 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_idle21", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req12", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":760 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_idle12", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_ack21", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":1590 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":4 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":760 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"snd_req21", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":1590 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_req12", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":0 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec_ack12", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"loop", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"wire12" + }, + { + "automaton":"node1" + }, + { + "automaton":"wire21" + }, + { + "automaton":"node2" + } + ], + "syncs":[ + { + "synchronise":[ + "rec_req12", + null, + null, + "rec_req12" + ], + "result":"rec_req12" + }, + { + "synchronise":[ + "rec_ack12", + null, + null, + "rec_ack12" + ], + "result":"rec_ack12" + }, + { + "synchronise":[ + "rec_idle12", + null, + null, + "rec_idle12" + ], + "result":"rec_idle12" + }, + { + "synchronise":[ + null, + "loop", + null, + "loop" + ], + "result":"loop" + }, + { + "synchronise":[ + null, + null, + "snd_req21", + "snd_req21" + ], + "result":"snd_req21" + }, + { + "synchronise":[ + null, + null, + "snd_ack21", + "snd_ack21" + ], + "result":"snd_ack21" + }, + { + "synchronise":[ + null, + null, + "snd_idle21", + "snd_idle21" + ], + "result":"snd_idle21" + }, + { + "synchronise":[ + null, + "rec_idle21", + "rec_idle21", + null + ], + "result":"rec_idle21" + }, + { + "synchronise":[ + null, + "rec_req21", + "rec_req21", + null + ], + "result":"rec_req21" + }, + { + "synchronise":[ + null, + "rec_ack21", + "rec_ack21", + null + ], + "result":"rec_ack21" + }, + { + "synchronise":[ + "snd_req12", + "snd_req12", + null, + null + ], + "result":"snd_req12" + }, + { + "synchronise":[ + "snd_ack12", + "snd_ack12", + null, + null + ], + "result":"snd_ack12" + }, + { + "synchronise":[ + "snd_idle12", + "snd_idle12", + null, + null + ], + "result":"snd_idle12" + } + ] + } +} diff --git a/examples/exported-jani-models/pta_formats09.jani b/examples/exported-jani-models/pta_formats09.jani new file mode 100644 index 000000000..1ed05e562 --- /dev/null +++ b/examples/exported-jani-models/pta_formats09.jani @@ -0,0 +1,329 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"pta", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"x", + "type":"clock" + }, + { + "name":"y", + "type":"clock" + } + ], + "observables":[ + { + "name":"\"time\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":0 + }, + "right":{ + "op":"=", + "left":"x", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":0 + } + } + }, + "automata":[ + { + "name":"M", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.6000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.4000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"x", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":">", + "left":"y", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"y", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":"=", + "left":"x", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":3 + }, + { + "ref":"y", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":{ + "op":">", + "left":"x", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"y", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":3 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"M" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/pta_repudiation.jani b/examples/exported-jani-models/pta_repudiation.jani new file mode 100644 index 000000000..67ffa307a --- /dev/null +++ b/examples/exported-jani-models/pta_repudiation.jani @@ -0,0 +1,1686 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"pta", + "actions":[ + { + "name":"req" + }, + { + "name":"message" + }, + { + "name":"ack" + }, + { + "name":"tau__" + }, + { + "name":"decode" + }, + { + "name":"finished" + }, + { + "name":"stop" + }, + { + "name":"error" + }, + { + "name":"decoded_random" + }, + { + "name":"decoded_last" + } + ], + "variables":[ + { + "name":"o", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":12 + } + }, + { + "name":"x", + "type":"clock" + }, + { + "name":"r", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":9 + } + }, + { + "name":"y", + "type":"clock" + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":0 + }, + "right":{ + "op":"=", + "left":"x", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":0 + } + } + }, + "automata":[ + { + "name":"originator", + "locations":[ + { + "name":"location", + "invariant":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"o", + "right":0 + }, + "right":true + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"o", + "right":1 + }, + "right":{ + "op":"≤", + "left":"x", + "right":0 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"o", + "right":2 + }, + "right":{ + "op":"≤", + "left":"x", + "right":5 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"o", + "right":3 + }, + "right":{ + "op":"≤", + "left":"x", + "right":0 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"o", + "right":4 + }, + "right":{ + "op":"≤", + "left":"x", + "right":0 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"o", + "right":5 + }, + "right":{ + "op":"≤", + "left":"x", + "right":0 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"o", + "right":6 + }, + "right":true + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"o", + "right":7 + }, + "right":true + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"o", + "right":8 + }, + "right":true + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"o", + "right":9 + }, + "right":true + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"o", + "right":10 + }, + "right":true + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"o", + "right":11 + }, + "right":{ + "op":"≤", + "left":"x", + "right":5 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"o", + "right":12 + }, + "right":{ + "op":"≤", + "left":"x", + "right":5 + } + } + } + } + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"req", + "guard":{ + "exp":{ + "op":"=", + "left":"o", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":1 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"message", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":1 + }, + "right":{ + "op":"≤", + "left":"x", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"ack", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"x", + "right":1 + }, + "right":{ + "op":"≤", + "left":"x", + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.9000000 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":1 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1000000 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":3 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":2 + }, + "right":{ + "op":">", + "left":"x", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.9000000 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":4 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1000000 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":5 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"decode", + "guard":{ + "exp":{ + "op":"=", + "left":"o", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.9000000 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1000000 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finished", + "guard":{ + "exp":{ + "op":"=", + "left":"o", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":8 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"o", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"o", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"o", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"stop", + "guard":{ + "exp":{ + "op":"=", + "left":"o", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"error", + "guard":{ + "exp":{ + "op":"=", + "left":"o", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"decoded_random", + "guard":{ + "exp":{ + "op":"=", + "left":"o", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"decoded_last", + "guard":{ + "exp":{ + "op":"=", + "left":"o", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"ack", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":11 + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"x", + "right":1 + }, + "right":{ + "op":"≤", + "left":"x", + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":1 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"stop", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":11 + }, + "right":{ + "op":">", + "left":"x", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":9 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"ack", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":12 + }, + "right":{ + "op":"∧", + "left":{ + "op":"≥", + "left":"x", + "right":1 + }, + "right":{ + "op":"≤", + "left":"x", + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":3 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"stop", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"o", + "right":12 + }, + "right":{ + "op":">", + "left":"x", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"o", + "value":10 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"recipient", + "locations":[ + { + "name":"location", + "invariant":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"r", + "right":0 + }, + "right":{ + "op":"≤", + "left":"y", + "right":0 + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"r", + "right":1 + }, + "right":true + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"r", + "right":2 + }, + "right":true + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"r", + "right":3 + }, + "right":true + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"r", + "right":4 + }, + "right":{ + "op":"≤", + "left":"y", + "right":1 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"r", + "right":5 + }, + "right":{ + "op":"≤", + "left":"y", + "right":3 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"r", + "right":6 + }, + "right":true + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"r", + "right":7 + }, + "right":{ + "op":"≤", + "left":"y", + "right":0 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"≤", + "left":"y", + "right":0 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"r", + "right":9 + }, + "right":{ + "op":"≤", + "left":"y", + "right":0 + } + } + } + } + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"req", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"r", + "right":0 + }, + "right":{ + "op":"=", + "left":"y", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"message", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"y", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finished", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"ack", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":4 + }, + { + "ref":"y", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":5 + }, + { + "ref":"y", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"r", + "right":4 + }, + "right":{ + "op":"=", + "left":"y", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.0100000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":7 + }, + { + "ref":"y", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.9900000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"y", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"r", + "right":5 + }, + "right":{ + "op":"=", + "left":"y", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.0500000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":7 + }, + { + "ref":"y", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.9500000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"y", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"decode", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"r", + "right":7 + }, + "right":{ + "op":"=", + "left":"y", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"decoded_random", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"=", + "left":"y", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":9 + } + ] + } + ] + }, + { + "location":"location", + "action":"decoded_last", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"=", + "left":"y", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"ack", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":6 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"originator" + }, + { + "automaton":"recipient" + } + ], + "syncs":[ + { + "synchronise":[ + "req", + "req" + ], + "result":"req" + }, + { + "synchronise":[ + "message", + "message" + ], + "result":"message" + }, + { + "synchronise":[ + "ack", + "ack" + ], + "result":"ack" + }, + { + "synchronise":[ + "decode", + "decode" + ], + "result":"decode" + }, + { + "synchronise":[ + "finished", + "finished" + ], + "result":"finished" + }, + { + "synchronise":[ + "decoded_random", + "decoded_random" + ], + "result":"decoded_random" + }, + { + "synchronise":[ + "decoded_last", + "decoded_last" + ], + "result":"decoded_last" + }, + { + "synchronise":[ + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + "stop", + null + ], + "result":"stop" + }, + { + "synchronise":[ + "error", + null + ], + "result":"error" + }, + { + "synchronise":[ + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/pta_zeroconf.jani b/examples/exported-jani-models/pta_zeroconf.jani new file mode 100644 index 000000000..a2b54b22c --- /dev/null +++ b/examples/exported-jani-models/pta_zeroconf.jani @@ -0,0 +1,708 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"pta", + "actions":[ + { + "name":"tau__" + }, + { + "name":"send_used" + }, + { + "name":"send_fresh" + }, + { + "name":"recv" + } + ], + "variables":[ + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"probes", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"ip", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x", + "type":"clock" + }, + { + "name":"e", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"y", + "type":"clock" + } + ], + "observables":[ + { + "name":"\"time\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":0 + }, + "right":{ + "op":"=", + "left":"probes", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"ip", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"e", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":0 + } + } + }, + "automata":[ + { + "name":"sender", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"time\"", + "value":1 + } + ], + "invariant":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"s", + "right":0 + }, + "right":{ + "op":"≤", + "left":"x", + "right":0 + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"≤", + "left":"x", + "right":20 + } + } + }, + "right":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"s", + "right":2 + }, + "right":true + } + } + } + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"ip", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"ip", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send_used", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"x", + "right":20 + } + }, + "right":{ + "op":"=", + "left":"ip", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"probes", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"probes", + "value":{ + "op":"+", + "left":"probes", + "right":1 + } + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send_fresh", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"x", + "right":20 + } + }, + "right":{ + "op":"=", + "left":"ip", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"probes", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"probes", + "value":{ + "op":"+", + "left":"probes", + "right":1 + } + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s", + "right":1 + }, + "right":{ + "op":"=", + "left":"x", + "right":20 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"recv", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":0 + }, + { + "ref":"x", + "value":0 + }, + { + "ref":"ip", + "value":0 + }, + { + "ref":"probes", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"environment", + "locations":[ + { + "name":"location", + "invariant":{ + "exp":{ + "op":"∧", + "left":{ + "op":"⇒", + "left":{ + "op":"=", + "left":"e", + "right":0 + }, + "right":true + }, + "right":{ + "op":"⇒", + "left":{ + "op":"≥", + "left":"e", + "right":1 + }, + "right":{ + "op":"≤", + "left":"y", + "right":5 + } + } + } + } + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send_fresh", + "guard":{ + "exp":{ + "op":"=", + "left":"e", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"send_used", + "guard":{ + "exp":{ + "op":"=", + "left":"e", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.1000000 + }, + "location":"location", + "assignments":[ + { + "ref":"e", + "value":0 + }, + { + "ref":"y", + "value":0 + } + ] + }, + { + "probability":{ + "exp":0.9000000 + }, + "location":"location", + "assignments":[ + { + "ref":"e", + "value":1 + }, + { + "ref":"y", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"e", + "right":1 + }, + "right":{ + "op":"≥", + "left":"y", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.1000000 + }, + "location":"location", + "assignments":[ + { + "ref":"e", + "value":0 + }, + { + "ref":"y", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.9000000 + }, + "location":"location", + "assignments":[ + { + "ref":"e", + "value":2 + }, + { + "ref":"y", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"recv", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"e", + "right":2 + }, + "right":{ + "op":"≥", + "left":"y", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"e", + "value":0 + }, + { + "ref":"y", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"sender" + }, + { + "automaton":"environment" + } + ], + "syncs":[ + { + "synchronise":[ + "send_used", + "send_used" + ], + "result":"send_used" + }, + { + "synchronise":[ + "send_fresh", + "send_fresh" + ], + "result":"send_fresh" + }, + { + "synchronise":[ + "recv", + "recv" + ], + "result":"recv" + }, + { + "synchronise":[ + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/rabin10.jani b/examples/exported-jani-models/rabin10.jani new file mode 100644 index 000000000..e9de1ba68 --- /dev/null +++ b/examples/exported-jani-models/rabin10.jani @@ -0,0 +1,8616 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":2 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b1" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r1" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":1 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":2 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":3 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":4 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":5 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":6 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":7 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":8 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b1" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b2" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r2" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":1 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":2 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":3 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":4 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":5 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":6 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":7 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":8 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b2" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b3" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r3" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":1 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":2 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":3 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":4 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":5 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":6 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":7 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":8 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b3" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b4" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r4" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":1 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":2 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":3 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":4 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":5 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":6 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":7 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":8 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b4" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b4", + "value":0 + }, + { + "ref":"r4", + "value":0 + }, + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b4", + "value":0 + }, + { + "ref":"r4", + "value":0 + }, + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b5" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r5" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":1 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":2 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":3 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":4 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":5 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":6 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":7 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":8 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b5" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b5", + "value":0 + }, + { + "ref":"r5", + "value":0 + }, + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b5", + "value":0 + }, + { + "ref":"r5", + "value":0 + }, + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b6" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r6" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":1 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":2 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":3 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":4 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":5 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":6 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":7 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":8 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b6" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r6" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b6", + "value":0 + }, + { + "ref":"r6", + "value":0 + }, + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b6", + "value":0 + }, + { + "ref":"r6", + "value":0 + }, + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b7" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r7" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":1 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":2 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":3 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":4 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":5 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":6 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":7 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":8 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b7" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r7" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b7", + "value":0 + }, + { + "ref":"r7", + "value":0 + }, + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b7", + "value":0 + }, + { + "ref":"r7", + "value":0 + }, + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b8" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r8" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":1 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":2 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":3 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":4 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":5 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":6 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":7 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":8 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b8" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r8" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b8", + "value":0 + }, + { + "ref":"r8", + "value":0 + }, + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b8", + "value":0 + }, + { + "ref":"r8", + "value":0 + }, + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b9" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r9" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":1 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":2 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":3 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":4 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":5 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":6 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":7 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":8 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b9" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r9" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b9", + "value":0 + }, + { + "ref":"r9", + "value":0 + }, + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b9", + "value":0 + }, + { + "ref":"r9", + "value":0 + }, + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process10", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p10", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b10" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r10" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw10", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw10", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b10", + "value":1 + }, + { + "ref":"r10", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw10", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b10", + "value":2 + }, + { + "ref":"r10", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw10", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b10", + "value":3 + }, + { + "ref":"r10", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw10", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b10", + "value":4 + }, + { + "ref":"r10", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw10", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b10", + "value":5 + }, + { + "ref":"r10", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw10", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b10", + "value":6 + }, + { + "ref":"r10", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw10", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b10", + "value":7 + }, + { + "ref":"r10", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw10", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b10", + "value":8 + }, + { + "ref":"r10", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw10", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b10" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r10" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b10", + "value":0 + }, + { + "ref":"r10", + "value":0 + }, + { + "ref":"p10", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b10", + "value":0 + }, + { + "ref":"r10", + "value":0 + }, + { + "ref":"p10", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p10", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p10", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + }, + { + "automaton":"process10" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/rabin3.jani b/examples/exported-jani-models/rabin3.jani new file mode 100644 index 000000000..836d0bddb --- /dev/null +++ b/examples/exported-jani-models/rabin3.jani @@ -0,0 +1,1765 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"r", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":2 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"r1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"r2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"r3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b1" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r1" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":1 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":2 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":3 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":4 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":5 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":6 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b1" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b2" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r2" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":1 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":2 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":3 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":4 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":5 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":6 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b2" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b3" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r3" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":1 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":2 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":3 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":4 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":5 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":6 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b3" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/rabin4.jani b/examples/exported-jani-models/rabin4.jani new file mode 100644 index 000000000..55f583b93 --- /dev/null +++ b/examples/exported-jani-models/rabin4.jani @@ -0,0 +1,2460 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"r", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":2 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"r1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"r2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"r3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"r4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b1" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r1" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":1 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":2 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":3 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":4 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":5 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":6 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b1" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b2" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r2" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":1 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":2 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":3 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":4 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":5 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":6 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b2" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b3" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r3" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":1 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":2 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":3 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":4 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":5 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":6 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b3" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b4" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r4" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":1 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":2 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":3 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":4 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":5 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":6 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b4" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b4", + "value":0 + }, + { + "ref":"r4", + "value":0 + }, + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b4", + "value":0 + }, + { + "ref":"r4", + "value":0 + }, + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/rabin5.jani b/examples/exported-jani-models/rabin5.jani new file mode 100644 index 000000000..4dc4be24e --- /dev/null +++ b/examples/exported-jani-models/rabin5.jani @@ -0,0 +1,3371 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":2 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b1" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r1" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":1 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":2 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":3 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":4 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":5 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":6 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":7 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b1" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b2" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r2" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":1 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":2 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":3 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":4 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":5 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":6 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":7 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b2" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b3" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r3" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":1 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":2 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":3 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":4 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":5 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":6 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":7 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b3" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b4" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r4" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":1 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":2 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":3 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":4 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":5 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":6 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":7 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b4" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b4", + "value":0 + }, + { + "ref":"r4", + "value":0 + }, + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b4", + "value":0 + }, + { + "ref":"r4", + "value":0 + }, + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b5" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r5" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":1 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":2 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":3 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":4 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":5 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":6 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":7 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b5" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b5", + "value":0 + }, + { + "ref":"r5", + "value":0 + }, + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b5", + "value":0 + }, + { + "ref":"r5", + "value":0 + }, + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/rabin6.jani b/examples/exported-jani-models/rabin6.jani new file mode 100644 index 000000000..c6dab3c44 --- /dev/null +++ b/examples/exported-jani-models/rabin6.jani @@ -0,0 +1,4228 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":2 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b1" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r1" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":1 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":2 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":3 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":4 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":5 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":6 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":7 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b1" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b2" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r2" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":1 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":2 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":3 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":4 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":5 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":6 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":7 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b2" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b3" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r3" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":1 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":2 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":3 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":4 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":5 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":6 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":7 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b3" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b4" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r4" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":1 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":2 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":3 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":4 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":5 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":6 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":7 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b4" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b4", + "value":0 + }, + { + "ref":"r4", + "value":0 + }, + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b4", + "value":0 + }, + { + "ref":"r4", + "value":0 + }, + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b5" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r5" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":1 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":2 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":3 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":4 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":5 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":6 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":7 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b5" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b5", + "value":0 + }, + { + "ref":"r5", + "value":0 + }, + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b5", + "value":0 + }, + { + "ref":"r5", + "value":0 + }, + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b6" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r6" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":1 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":2 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":3 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":4 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":5 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":6 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":7 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b6" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r6" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b6", + "value":0 + }, + { + "ref":"r6", + "value":0 + }, + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b6", + "value":0 + }, + { + "ref":"r6", + "value":0 + }, + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/rabin7.jani b/examples/exported-jani-models/rabin7.jani new file mode 100644 index 000000000..4f6ea337c --- /dev/null +++ b/examples/exported-jani-models/rabin7.jani @@ -0,0 +1,5151 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":2 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b1" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r1" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":1 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":2 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":3 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":4 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":5 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":6 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":7 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b1" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b2" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r2" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":1 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":2 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":3 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":4 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":5 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":6 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":7 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b2" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b3" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r3" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":1 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":2 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":3 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":4 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":5 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":6 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":7 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b3" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b4" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r4" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":1 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":2 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":3 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":4 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":5 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":6 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":7 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b4" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b4", + "value":0 + }, + { + "ref":"r4", + "value":0 + }, + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b4", + "value":0 + }, + { + "ref":"r4", + "value":0 + }, + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b5" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r5" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":1 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":2 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":3 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":4 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":5 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":6 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":7 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b5" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b5", + "value":0 + }, + { + "ref":"r5", + "value":0 + }, + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b5", + "value":0 + }, + { + "ref":"r5", + "value":0 + }, + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b6" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r6" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":1 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":2 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":3 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":4 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":5 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":6 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":7 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b6" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r6" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b6", + "value":0 + }, + { + "ref":"r6", + "value":0 + }, + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b6", + "value":0 + }, + { + "ref":"r6", + "value":0 + }, + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b7" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r7" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":1 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":2 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":3 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":4 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":5 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":6 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":7 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b7" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r7" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b7", + "value":0 + }, + { + "ref":"r7", + "value":0 + }, + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b7", + "value":0 + }, + { + "ref":"r7", + "value":0 + }, + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/rabin8.jani b/examples/exported-jani-models/rabin8.jani new file mode 100644 index 000000000..cddef5482 --- /dev/null +++ b/examples/exported-jani-models/rabin8.jani @@ -0,0 +1,6140 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":2 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"r8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b1" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r1" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":1 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":2 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":3 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":4 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":5 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":6 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":7 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b1" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b2" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r2" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":1 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":2 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":3 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":4 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":5 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":6 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":7 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b2" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b3" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r3" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":1 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":2 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":3 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":4 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":5 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":6 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":7 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b3" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b4" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r4" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":1 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":2 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":3 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":4 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":5 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":6 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":7 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b4" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b4", + "value":0 + }, + { + "ref":"r4", + "value":0 + }, + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b4", + "value":0 + }, + { + "ref":"r4", + "value":0 + }, + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b5" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r5" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":1 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":2 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":3 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":4 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":5 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":6 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":7 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b5" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b5", + "value":0 + }, + { + "ref":"r5", + "value":0 + }, + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b5", + "value":0 + }, + { + "ref":"r5", + "value":0 + }, + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b6" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r6" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":1 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":2 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":3 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":4 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":5 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":6 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":7 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b6" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r6" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b6", + "value":0 + }, + { + "ref":"r6", + "value":0 + }, + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b6", + "value":0 + }, + { + "ref":"r6", + "value":0 + }, + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b7" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r7" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":1 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":2 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":3 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":4 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":5 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":6 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":7 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b7" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r7" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b7", + "value":0 + }, + { + "ref":"r7", + "value":0 + }, + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b7", + "value":0 + }, + { + "ref":"r7", + "value":0 + }, + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b8" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r8" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":1 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":2 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":3 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":4 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":5 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":6 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":7 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b8" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r8" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b8", + "value":0 + }, + { + "ref":"r8", + "value":0 + }, + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b8", + "value":0 + }, + { + "ref":"r8", + "value":0 + }, + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/rabin9.jani b/examples/exported-jani-models/rabin9.jani new file mode 100644 index 000000000..cd0ae5124 --- /dev/null +++ b/examples/exported-jani-models/rabin9.jani @@ -0,0 +1,7465 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":2 + } + }, + { + "name":"p1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"p9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"draw9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + } + }, + "automata":[ + { + "name":"process1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b1" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r1" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":1 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":2 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":3 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":4 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":5 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":6 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":7 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b1", + "value":8 + }, + { + "ref":"r1", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b1" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r1" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b1", + "value":0 + }, + { + "ref":"r1", + "value":0 + }, + { + "ref":"p1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p1", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b2" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r2" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":1 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":2 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":3 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":4 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":5 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":6 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":7 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b2", + "value":8 + }, + { + "ref":"r2", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b2" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r2" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b2", + "value":0 + }, + { + "ref":"r2", + "value":0 + }, + { + "ref":"p2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw1", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p2", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p3", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b3" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r3" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":1 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":2 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":3 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":4 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":5 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":6 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":7 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b3", + "value":8 + }, + { + "ref":"r3", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw3", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b3" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r3" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b3", + "value":0 + }, + { + "ref":"r3", + "value":0 + }, + { + "ref":"p3", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p3", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p3", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p4", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b4" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r4" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw4", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":1 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":2 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":3 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":4 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":5 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":6 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":7 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b4", + "value":8 + }, + { + "ref":"r4", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw4", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b4" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r4" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b4", + "value":0 + }, + { + "ref":"r4", + "value":0 + }, + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b4", + "value":0 + }, + { + "ref":"r4", + "value":0 + }, + { + "ref":"p4", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p4", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p4", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p5", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b5" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r5" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw5", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":1 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":2 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":3 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":4 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":5 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":6 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":7 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b5", + "value":8 + }, + { + "ref":"r5", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw5", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b5" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r5" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b5", + "value":0 + }, + { + "ref":"r5", + "value":0 + }, + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b5", + "value":0 + }, + { + "ref":"r5", + "value":0 + }, + { + "ref":"p5", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p5", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p5", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p6", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b6" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r6" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw6", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw6", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":1 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":2 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":3 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":4 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":5 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":6 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":7 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b6", + "value":8 + }, + { + "ref":"r6", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw6", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b6" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r6" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b6", + "value":0 + }, + { + "ref":"r6", + "value":0 + }, + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b6", + "value":0 + }, + { + "ref":"r6", + "value":0 + }, + { + "ref":"p6", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p6", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p6", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p7", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b7" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r7" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw7", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw7", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":1 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":2 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":3 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":4 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":5 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":6 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":7 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b7", + "value":8 + }, + { + "ref":"r7", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw7", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b7" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r7" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b7", + "value":0 + }, + { + "ref":"r7", + "value":0 + }, + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b7", + "value":0 + }, + { + "ref":"r7", + "value":0 + }, + { + "ref":"p7", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p7", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p7", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p8", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b8" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r8" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw8", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw8", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":1 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":2 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":3 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":4 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":5 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":6 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":7 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b8", + "value":8 + }, + { + "ref":"r8", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw8", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b8" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r8" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b8", + "value":0 + }, + { + "ref":"r8", + "value":0 + }, + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b8", + "value":0 + }, + { + "ref":"r8", + "value":0 + }, + { + "ref":"p8", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p8", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p8", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"process9", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"p9", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"<", + "left":"b", + "right":"b9" + }, + "right":{ + "op":"≠", + "left":"r", + "right":"r9" + } + } + } + }, + "right":{ + "op":"=", + "left":"draw9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"draw9", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"draw9", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":1 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":1 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.2500000 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":2 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":2 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1250000 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":3 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":3 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0625000 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":4 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":4 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0312500 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":5 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":5 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0156250 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":6 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":6 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":7 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":7 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.0078125 + }, + "location":"location", + "assignments":[ + { + "ref":"b9", + "value":8 + }, + { + "ref":"r9", + "value":"r" + }, + { + "ref":"b", + "value":{ + "op":"max", + "left":"b", + "right":8 + } + }, + { + "ref":"draw9", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":"b9" + } + }, + "right":{ + "op":"=", + "left":"r", + "right":"r9" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b9", + "value":0 + }, + { + "ref":"r9", + "value":0 + }, + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + }, + { + "ref":"c", + "value":1 + }, + { + "ref":"b", + "value":0 + }, + { + "ref":"b9", + "value":0 + }, + { + "ref":"r9", + "value":0 + }, + { + "ref":"p9", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"draw2", + "right":0 + }, + "right":{ + "op":"=", + "left":"draw3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"draw1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"p9", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"p9", + "value":0 + }, + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"process1" + }, + { + "automaton":"process2" + }, + { + "automaton":"process3" + }, + { + "automaton":"process4" + }, + { + "automaton":"process5" + }, + { + "automaton":"process6" + }, + { + "automaton":"process7" + }, + { + "automaton":"process8" + }, + { + "automaton":"process9" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/rabin_choice.jani b/examples/exported-jani-models/rabin_choice.jani new file mode 100644 index 000000000..9fa0f5085 --- /dev/null +++ b/examples/exported-jani-models/rabin_choice.jani @@ -0,0 +1,1708 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"t1_nlb_up" + }, + { + "name":"t1_nrb_up" + }, + { + "name":"t1_enter_l" + }, + { + "name":"t1_enter_r" + }, + { + "name":"t1_must_l" + }, + { + "name":"t1_must_r" + }, + { + "name":"t1_l_up" + }, + { + "name":"t1_r_up" + }, + { + "name":"t1_l_copy" + }, + { + "name":"t1_r_copy" + }, + { + "name":"t1_l_exit" + }, + { + "name":"t1_r_exit" + } + ], + "variables":[ + { + "name":"nlb", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"lbm", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"nrb", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"rbm", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"rin", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"lin", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"flag", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"t1_loc", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"t1_val", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"t1_com", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"nlb", + "right":0 + }, + "right":{ + "op":"=", + "left":"lbm", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"nrb", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"rbm", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"rin", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"lin", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"flag", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"t1_val", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t1_com", + "right":0 + } + } + }, + "automata":[ + { + "name":"leftboard", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≠", + "left":"lin", + "right":1 + }, + "right":{ + "op":"≠", + "left":"rin", + "right":1 + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"t1_nlb_up", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lbm", + "right":0 + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"lin", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t1_val", + "right":"nlb" + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":"nlb", + "right":3 + }, + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"nlb", + "value":{ + "op":"+", + "left":"nlb", + "right":2 + } + }, + { + "ref":"lbm", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"nlb", + "value":{ + "op":"+", + "left":"nlb", + "right":3 + } + }, + { + "ref":"lbm", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"t1_nlb_up", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"lbm", + "right":1 + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"lin", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t1_val", + "right":"nlb" + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":"nlb", + "right":2 + }, + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"nlb", + "value":{ + "op":"+", + "left":"nlb", + "right":2 + } + }, + { + "ref":"lbm", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"nlb", + "value":{ + "op":"+", + "left":"nlb", + "right":1 + } + }, + { + "ref":"lbm", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"rightboard", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"t1_nrb_up", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"rbm", + "right":0 + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"rin", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t1_val", + "right":"nrb" + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":"nrb", + "right":3 + }, + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"nrb", + "value":{ + "op":"+", + "left":"nrb", + "right":2 + } + }, + { + "ref":"rbm", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"nrb", + "value":{ + "op":"+", + "left":"nrb", + "right":3 + } + }, + { + "ref":"rbm", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"t1_nrb_up", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"rbm", + "right":1 + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"rin", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t1_val", + "right":"nrb" + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":"nrb", + "right":2 + }, + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"nrb", + "value":{ + "op":"+", + "left":"nrb", + "right":2 + } + }, + { + "ref":"rbm", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"nrb", + "value":{ + "op":"+", + "left":"nrb", + "right":1 + } + }, + { + "ref":"rbm", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"counter", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"t1_enter_l", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"t1_loc", + "right":0 + }, + "right":{ + "op":"=", + "left":"flag", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"lin", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"lin", + "value":{ + "op":"+", + "left":"lin", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"t1_enter_r", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"t1_loc", + "right":1 + }, + "right":{ + "op":"=", + "left":"flag", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"rin", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"rin", + "value":{ + "op":"+", + "left":"rin", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"t1_must_l", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"t1_loc", + "right":0 + }, + "right":{ + "op":"=", + "left":"flag", + "right":0 + } + }, + "right":{ + "op":">", + "left":"lin", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":"lin", + "right":1 + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"lin", + "value":{ + "op":"+", + "left":"lin", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"t1_must_r", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"t1_loc", + "right":1 + }, + "right":{ + "op":"=", + "left":"flag", + "right":0 + } + }, + "right":{ + "op":">", + "left":"rin", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":"rin", + "right":1 + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"rin", + "value":{ + "op":"+", + "left":"rin", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"semaphore", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"t1_nlb_up", + "guard":{ + "exp":{ + "op":"=", + "left":"flag", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"flag", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"t1_nrb_up", + "guard":{ + "exp":{ + "op":"=", + "left":"flag", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"flag", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"t1_l_up", + "guard":{ + "exp":{ + "op":"=", + "left":"flag", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"flag", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"t1_r_up", + "guard":{ + "exp":{ + "op":"=", + "left":"flag", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"flag", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"tourist1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"t1_nlb_up", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"t1_com", + "right":0 + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"lin", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t1_com", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"t1_nrb_up", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"t1_com", + "right":0 + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"rin", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t1_com", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"t1_l_up", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"t1_com", + "right":1 + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"lin", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t1_val", + "value":"nlb" + }, + { + "ref":"t1_loc", + "value":1 + }, + { + "ref":"t1_com", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"t1_r_up", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"t1_com", + "right":1 + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"rin", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t1_val", + "value":"nrb" + }, + { + "ref":"t1_loc", + "value":0 + }, + { + "ref":"t1_com", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"t1_l_copy", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"flag", + "right":0 + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"t1_val", + "right":"nlb" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t1_val", + "value":"nlb" + }, + { + "ref":"t1_loc", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"t1_r_copy", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"flag", + "right":0 + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"t1_val", + "right":"nrb" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t1_val", + "value":"nrb" + }, + { + "ref":"t1_loc", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"t1_enter_l", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"flag", + "right":0 + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"lin", + "right":0 + } + }, + "right":{ + "op":">", + "left":"t1_val", + "right":"nlb" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t1_loc", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"t1_enter_r", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"flag", + "right":0 + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"rin", + "right":0 + } + }, + "right":{ + "op":">", + "left":"t1_val", + "right":"nrb" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t1_loc", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"t1_must_l", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"flag", + "right":0 + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":0 + } + }, + "right":{ + "op":">", + "left":"lin", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":"lin", + "right":1 + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t1_loc", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"t1_must_r", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"flag", + "right":0 + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":1 + } + }, + "right":{ + "op":">", + "left":"rin", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":"rin", + "right":1 + }, + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t1_loc", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"t1_l_exit", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"flag", + "right":0 + }, + "right":{ + "op":"=", + "left":"lin", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t1_val", + "value":"t1_val" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"t1_r_exit", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"flag", + "right":0 + }, + "right":{ + "op":"=", + "left":"rin", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"t1_loc", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t1_val", + "value":"t1_val" + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"leftboard" + }, + { + "automaton":"rightboard" + }, + { + "automaton":"counter" + }, + { + "automaton":"semaphore" + }, + { + "automaton":"tourist1" + } + ], + "syncs":[ + { + "synchronise":[ + "t1_nlb_up", + null, + null, + "t1_nlb_up", + "t1_nlb_up" + ], + "result":"t1_nlb_up" + }, + { + "synchronise":[ + null, + "t1_nrb_up", + null, + "t1_nrb_up", + "t1_nrb_up" + ], + "result":"t1_nrb_up" + }, + { + "synchronise":[ + null, + null, + "t1_enter_l", + null, + "t1_enter_l" + ], + "result":"t1_enter_l" + }, + { + "synchronise":[ + null, + null, + "t1_enter_r", + null, + "t1_enter_r" + ], + "result":"t1_enter_r" + }, + { + "synchronise":[ + null, + null, + "t1_must_l", + null, + "t1_must_l" + ], + "result":"t1_must_l" + }, + { + "synchronise":[ + null, + null, + "t1_must_r", + null, + "t1_must_r" + ], + "result":"t1_must_r" + }, + { + "synchronise":[ + null, + null, + null, + "t1_l_up", + "t1_l_up" + ], + "result":"t1_l_up" + }, + { + "synchronise":[ + null, + null, + null, + "t1_r_up", + "t1_r_up" + ], + "result":"t1_r_up" + }, + { + "synchronise":[ + null, + null, + null, + null, + "t1_l_copy" + ], + "result":"t1_l_copy" + }, + { + "synchronise":[ + null, + null, + null, + null, + "t1_r_copy" + ], + "result":"t1_r_copy" + }, + { + "synchronise":[ + null, + null, + null, + null, + "t1_l_exit" + ], + "result":"t1_l_exit" + }, + { + "synchronise":[ + null, + null, + null, + null, + "t1_r_exit" + ], + "result":"t1_r_exit" + } + ] + } +} diff --git a/examples/exported-jani-models/robot.jani b/examples/exported-jani-models/robot.jani new file mode 100644 index 000000000..bb4663c5f --- /dev/null +++ b/examples/exported-jani-models/robot.jani @@ -0,0 +1,1412 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"n", + "type":"int" + } + ], + "variables":[ + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":"n" + } + }, + { + "name":"y1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":"n" + } + }, + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":"n" + } + }, + { + "name":"y2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":"n" + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"y1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":"n" + } + }, + "right":{ + "op":"=", + "left":"y2", + "right":"n" + } + } + }, + "automata":[ + { + "name":"robot", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"<", + "left":"x1", + "right":"n" + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":"x2" + }, + "right":{ + "op":"=", + "left":"y1", + "right":"y2" + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"+", + "left":"x1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":"n" + }, + "right":{ + "op":"<", + "left":"y1", + "right":"n" + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":"x2" + }, + "right":{ + "op":"=", + "left":{ + "op":"+", + "left":"y1", + "right":1 + }, + "right":"y2" + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"y1", + "value":{ + "op":"+", + "left":"y1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":10 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":10 + }, + "right":{ + "op":"/", + "left":1, + "right":10 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"c", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"janitor", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":2, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"x2" + }, + "right":0 + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"x2", + "right":1 + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"y2" + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"y2", + "right":1 + }, + "right":0 + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"y2", + "right":"n" + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":{ + "op":"+", + "left":"y2", + "right":1 + }, + "right":"y1" + }, + "right":{ + "op":"=", + "left":"x2", + "right":"x1" + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"x2" + }, + "right":0 + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"x2", + "right":1 + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"y2" + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"y2", + "right":1 + }, + "right":0 + } + } + } + }, + "right":{ + "op":"/", + "left":2, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"x2" + }, + "right":0 + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"x2", + "right":1 + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"y2" + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"y2", + "right":1 + }, + "right":0 + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"y2", + "value":{ + "op":"+", + "left":"y2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":2, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"x2" + }, + "right":0 + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"x2", + "right":1 + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"y2" + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"y2", + "right":1 + }, + "right":0 + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"y2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":{ + "op":"-", + "left":"y2", + "right":1 + }, + "right":"y1" + }, + "right":{ + "op":"=", + "left":"x2", + "right":"x1" + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"x2" + }, + "right":0 + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"x2", + "right":1 + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"y2" + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"y2", + "right":1 + }, + "right":0 + } + } + } + }, + "right":{ + "op":"/", + "left":2, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"x2" + }, + "right":0 + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"x2", + "right":1 + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"y2" + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"y2", + "right":1 + }, + "right":0 + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"y2", + "value":{ + "op":"-", + "left":"y2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":2, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"x2" + }, + "right":0 + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"x2", + "right":1 + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"y2" + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"y2", + "right":1 + }, + "right":0 + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":{ + "op":"-", + "left":"x2", + "right":1 + }, + "right":"x1" + }, + "right":{ + "op":"=", + "left":"y2", + "right":"y1" + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"x2" + }, + "right":0 + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"x2", + "right":1 + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"y2" + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"y2", + "right":1 + }, + "right":0 + } + } + } + }, + "right":{ + "op":"/", + "left":2, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"x2" + }, + "right":0 + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"x2", + "right":1 + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"y2" + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"y2", + "right":1 + }, + "right":0 + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"-", + "left":"x2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"/", + "left":2, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"x2" + }, + "right":0 + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"x2", + "right":1 + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"y2" + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"y2", + "right":1 + }, + "right":0 + } + } + } + } + }, + "guard":{ + "exp":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":"n" + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":"x1" + }, + "right":{ + "op":"=", + "left":"y2", + "right":"y1" + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"/", + "left":2, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"x2" + }, + "right":0 + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"x2", + "right":1 + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"y2" + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"y2", + "right":1 + }, + "right":0 + } + } + } + }, + "right":{ + "op":"/", + "left":2, + "right":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"x2" + }, + "right":0 + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"x2", + "right":1 + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"n", + "right":"y2" + }, + "right":0 + } + } + }, + "right":{ + "op":"min", + "left":1, + "right":{ + "op":"max", + "left":{ + "op":"-", + "left":"y2", + "right":1 + }, + "right":0 + } + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"+", + "left":"x2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"robot" + }, + { + "automaton":"janitor" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/stable_matching1.jani b/examples/exported-jani-models/stable_matching1.jani new file mode 100644 index 000000000..0ad786953 --- /dev/null +++ b/examples/exported-jani-models/stable_matching1.jani @@ -0,0 +1,2320 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"e11" + }, + { + "name":"e12" + }, + { + "name":"e13" + }, + { + "name":"e21" + }, + { + "name":"e31" + }, + { + "name":"e22" + }, + { + "name":"e32" + }, + { + "name":"e23" + }, + { + "name":"e33" + } + ], + "variables":[ + { + "name":"m1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"m2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"m3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + } + ], + "observables":[ + { + "name":"\"rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":0 + }, + "right":{ + "op":"=", + "left":"m2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"m3", + "right":0 + } + } + }, + "automata":[ + { + "name":"man1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"rounds\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e11", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m1", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e12", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m1", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e13", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m1", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":1 + }, + "right":{ + "op":">", + "left":1, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":2 + }, + "right":{ + "op":">", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":3 + }, + "right":{ + "op":">", + "left":1, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e21", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":1 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e31", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":1 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e22", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":2 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e32", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":2 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":3 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e33", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":3 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"woman1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e11", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":1 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":1 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":1 + }, + "right":{ + "op":">", + "left":1, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":1 + }, + "right":{ + "op":">", + "left":1, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":1 + }, + "right":{ + "op":">", + "left":1, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e21", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":1 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":1 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e31", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":1 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":1 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"man2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e21", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m2", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":1 + }, + "right":{ + "op":">", + "left":1, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":2 + }, + "right":{ + "op":">", + "left":1, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":3 + }, + "right":{ + "op":">", + "left":1, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"e22", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m2", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m2", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"e31", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":1 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e11", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":1 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e32", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":2 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e12", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":2 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e33", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":3 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e13", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":3 + }, + 0, + "m2" + ] + } + } + ] + } + ] + } + ] + }, + { + "name":"man3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e31", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m3", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"e32", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m3", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":1 + }, + "right":{ + "op":">", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":2 + }, + "right":{ + "op":">", + "left":1, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":3 + }, + "right":{ + "op":">", + "left":1, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"e33", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m3", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"e11", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":1 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e21", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":1 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e12", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":2 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e22", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":2 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e13", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":3 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":3 + }, + 0, + "m3" + ] + } + } + ] + } + ] + } + ] + }, + { + "name":"woman2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e12", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":2 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":2 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":2 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e22", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":2 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":2 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":2 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":2 + }, + "right":{ + "op":">", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":2 + }, + "right":{ + "op":">", + "left":1, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":2 + }, + "right":{ + "op":">", + "left":1, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e32", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":2 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":2 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":2 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"woman3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e13", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":3 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":3 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":3 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":3 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e33", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":3 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":3 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":3 + }, + "right":{ + "op":">", + "left":1, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":3 + }, + "right":{ + "op":">", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":3 + }, + "right":{ + "op":">", + "left":1, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"man1" + }, + { + "automaton":"woman1" + }, + { + "automaton":"man2" + }, + { + "automaton":"man3" + }, + { + "automaton":"woman2" + }, + { + "automaton":"woman3" + } + ], + "syncs":[ + { + "synchronise":[ + "e13", + null, + "e13", + "e13", + null, + "e13" + ], + "result":"e13" + }, + { + "synchronise":[ + "e23", + null, + "e23", + "e23", + null, + "e23" + ], + "result":"e23" + }, + { + "synchronise":[ + "e33", + null, + "e33", + "e33", + null, + "e33" + ], + "result":"e33" + }, + { + "synchronise":[ + "e12", + null, + "e12", + "e12", + "e12", + null + ], + "result":"e12" + }, + { + "synchronise":[ + "e22", + null, + "e22", + "e22", + "e22", + null + ], + "result":"e22" + }, + { + "synchronise":[ + "e32", + null, + "e32", + "e32", + "e32", + null + ], + "result":"e32" + }, + { + "synchronise":[ + "e11", + "e11", + "e11", + "e11", + null, + null + ], + "result":"e11" + }, + { + "synchronise":[ + "e21", + "e21", + "e21", + "e21", + null, + null + ], + "result":"e21" + }, + { + "synchronise":[ + "e31", + "e31", + "e31", + "e31", + null, + null + ], + "result":"e31" + } + ] + } +} diff --git a/examples/exported-jani-models/stable_matching2.jani b/examples/exported-jani-models/stable_matching2.jani new file mode 100644 index 000000000..c46403133 --- /dev/null +++ b/examples/exported-jani-models/stable_matching2.jani @@ -0,0 +1,5219 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"e11" + }, + { + "name":"e12" + }, + { + "name":"e13" + }, + { + "name":"e14" + }, + { + "name":"e21" + }, + { + "name":"e31" + }, + { + "name":"e41" + }, + { + "name":"e22" + }, + { + "name":"e32" + }, + { + "name":"e42" + }, + { + "name":"e23" + }, + { + "name":"e33" + }, + { + "name":"e43" + }, + { + "name":"e24" + }, + { + "name":"e34" + }, + { + "name":"e44" + } + ], + "variables":[ + { + "name":"m1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"m2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"m3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"m4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + } + ], + "observables":[ + { + "name":"\"rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":0 + }, + "right":{ + "op":"=", + "left":"m2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"m3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"m4", + "right":0 + } + } + }, + "automata":[ + { + "name":"man1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"rounds\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e11", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m1", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e12", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m1", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e13", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m1", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e14", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m1", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":1 + }, + "right":{ + "op":">", + "left":1, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":2 + }, + "right":{ + "op":">", + "left":1, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":3 + }, + "right":{ + "op":">", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":4 + }, + "right":{ + "op":">", + "left":1, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e21", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":1 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e31", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":1 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e41", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":1 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e22", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":2 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e32", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":2 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e42", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":2 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":3 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e33", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":3 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e43", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":3 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e24", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":4 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e34", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":4 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e44", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m1", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m1", + "right":4 + }, + 0, + "m1" + ] + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"woman1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e11", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":1 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":1 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":1 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":1 + }, + "right":{ + "op":">", + "left":1, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":1 + }, + "right":{ + "op":">", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":1 + }, + "right":{ + "op":">", + "left":1, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":1 + }, + "right":{ + "op":">", + "left":1, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e21", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":1 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":1 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":1 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e31", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":1 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":1 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":1 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e41", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":1 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":1 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":1 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"man2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e21", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m2", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"e22", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m2", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m2", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":1 + }, + "right":{ + "op":">", + "left":1, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":2 + }, + "right":{ + "op":">", + "left":1, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":3 + }, + "right":{ + "op":">", + "left":1, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":4 + }, + "right":{ + "op":">", + "left":1, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"e24", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m2", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"e31", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":1 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e41", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":1 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e11", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":1 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e32", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":2 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e42", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":2 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e12", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":2 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e33", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":3 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e43", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":3 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e13", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":3 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e34", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":4 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e44", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":4 + }, + 0, + "m2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e14", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m2", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m2", + "right":4 + }, + 0, + "m2" + ] + } + } + ] + } + ] + } + ] + }, + { + "name":"man3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e31", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m3", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"e32", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m3", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":1 + }, + "right":{ + "op":">", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":2 + }, + "right":{ + "op":">", + "left":1, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":3 + }, + "right":{ + "op":">", + "left":1, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":4 + }, + "right":{ + "op":">", + "left":1, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"e33", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m3", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"e34", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m3", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"e41", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":1 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e11", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":1 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e21", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":1 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e42", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":2 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e12", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":2 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e22", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":2 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e43", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":3 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e13", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":3 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":3 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e44", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":4 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e14", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":4 + }, + 0, + "m3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e24", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m3", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m3", + "right":4 + }, + 0, + "m3" + ] + } + } + ] + } + ] + } + ] + }, + { + "name":"man4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e41", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m4", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":1 + }, + "right":{ + "op":">", + "left":1, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":2 + }, + "right":{ + "op":">", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":3 + }, + "right":{ + "op":">", + "left":1, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":4 + }, + "right":{ + "op":">", + "left":1, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"e42", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m4", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"e43", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m4", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"e44", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"m4", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"e11", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m4", + "right":1 + }, + 0, + "m4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e21", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m4", + "right":1 + }, + 0, + "m4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e31", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m4", + "right":1 + }, + 0, + "m4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e12", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m4", + "right":2 + }, + 0, + "m4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e22", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m4", + "right":2 + }, + 0, + "m4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e32", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m4", + "right":2 + }, + 0, + "m4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e13", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m4", + "right":3 + }, + 0, + "m4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m4", + "right":3 + }, + 0, + "m4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e33", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m4", + "right":3 + }, + 0, + "m4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e14", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m4", + "right":4 + }, + 0, + "m4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e24", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m4", + "right":4 + }, + 0, + "m4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e34", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"m4", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"m4", + "right":4 + }, + 0, + "m4" + ] + } + } + ] + } + ] + } + ] + }, + { + "name":"woman2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e12", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":2 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":2 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":2 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":2 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e22", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":2 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":2 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":2 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":2 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":2 + }, + "right":{ + "op":">", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":2 + }, + "right":{ + "op":">", + "left":1, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":2 + }, + "right":{ + "op":">", + "left":1, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":2 + }, + "right":{ + "op":">", + "left":1, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e32", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":2 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":2 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":2 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":2 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e42", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":2 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":2 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":2 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":2 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"woman3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e13", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":3 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":3 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":3 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":3 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":3 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":3 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e33", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":3 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":3 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":3 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":3 + }, + "right":{ + "op":">", + "left":1, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":3 + }, + "right":{ + "op":">", + "left":1, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":3 + }, + "right":{ + "op":">", + "left":1, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":3 + }, + "right":{ + "op":">", + "left":1, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e43", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":3 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":3 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":3 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"woman4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e14", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":4 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":4 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":4 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e24", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":4 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":4 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":4 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e34", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":4 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":4 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":4 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"e44", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"m1", + "right":4 + }, + "right":{ + "op":"≠", + "left":"m2", + "right":4 + } + }, + "right":{ + "op":"≠", + "left":"m3", + "right":4 + } + }, + "right":{ + "op":"≠", + "left":"m4", + "right":4 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m1", + "right":4 + }, + "right":{ + "op":">", + "left":1, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m2", + "right":4 + }, + "right":{ + "op":">", + "left":1, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m3", + "right":4 + }, + "right":{ + "op":">", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"m4", + "right":4 + }, + "right":{ + "op":">", + "left":1, + "right":1 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"man1" + }, + { + "automaton":"woman1" + }, + { + "automaton":"man2" + }, + { + "automaton":"man3" + }, + { + "automaton":"man4" + }, + { + "automaton":"woman2" + }, + { + "automaton":"woman3" + }, + { + "automaton":"woman4" + } + ], + "syncs":[ + { + "synchronise":[ + "e14", + null, + "e14", + "e14", + "e14", + null, + null, + "e14" + ], + "result":"e14" + }, + { + "synchronise":[ + "e24", + null, + "e24", + "e24", + "e24", + null, + null, + "e24" + ], + "result":"e24" + }, + { + "synchronise":[ + "e34", + null, + "e34", + "e34", + "e34", + null, + null, + "e34" + ], + "result":"e34" + }, + { + "synchronise":[ + "e44", + null, + "e44", + "e44", + "e44", + null, + null, + "e44" + ], + "result":"e44" + }, + { + "synchronise":[ + "e13", + null, + "e13", + "e13", + "e13", + null, + "e13", + null + ], + "result":"e13" + }, + { + "synchronise":[ + "e23", + null, + "e23", + "e23", + "e23", + null, + "e23", + null + ], + "result":"e23" + }, + { + "synchronise":[ + "e33", + null, + "e33", + "e33", + "e33", + null, + "e33", + null + ], + "result":"e33" + }, + { + "synchronise":[ + "e43", + null, + "e43", + "e43", + "e43", + null, + "e43", + null + ], + "result":"e43" + }, + { + "synchronise":[ + "e12", + null, + "e12", + "e12", + "e12", + "e12", + null, + null + ], + "result":"e12" + }, + { + "synchronise":[ + "e22", + null, + "e22", + "e22", + "e22", + "e22", + null, + null + ], + "result":"e22" + }, + { + "synchronise":[ + "e32", + null, + "e32", + "e32", + "e32", + "e32", + null, + null + ], + "result":"e32" + }, + { + "synchronise":[ + "e42", + null, + "e42", + "e42", + "e42", + "e42", + null, + null + ], + "result":"e42" + }, + { + "synchronise":[ + "e11", + "e11", + "e11", + "e11", + "e11", + null, + null, + null + ], + "result":"e11" + }, + { + "synchronise":[ + "e21", + "e21", + "e21", + "e21", + "e21", + null, + null, + null + ], + "result":"e21" + }, + { + "synchronise":[ + "e31", + "e31", + "e31", + "e31", + "e31", + null, + null, + null + ], + "result":"e31" + }, + { + "synchronise":[ + "e41", + "e41", + "e41", + "e41", + "e41", + null, + null, + null + ], + "result":"e41" + } + ] + } +} diff --git a/examples/exported-jani-models/stable_matching3.jani b/examples/exported-jani-models/stable_matching3.jani new file mode 100644 index 000000000..ce859c5fb --- /dev/null +++ b/examples/exported-jani-models/stable_matching3.jani @@ -0,0 +1,16087 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"dtmc", + "actions":[ + { + "name":"e12" + }, + { + "name":"e13" + }, + { + "name":"e14" + }, + { + "name":"e15" + }, + { + "name":"e16" + }, + { + "name":"e17" + }, + { + "name":"e18" + }, + { + "name":"e23" + }, + { + "name":"e24" + }, + { + "name":"e25" + }, + { + "name":"e26" + }, + { + "name":"e27" + }, + { + "name":"e28" + }, + { + "name":"e34" + }, + { + "name":"e35" + }, + { + "name":"e36" + }, + { + "name":"e37" + }, + { + "name":"e38" + }, + { + "name":"e45" + }, + { + "name":"e46" + }, + { + "name":"e47" + }, + { + "name":"e48" + }, + { + "name":"e56" + }, + { + "name":"e57" + }, + { + "name":"e58" + }, + { + "name":"e67" + }, + { + "name":"e68" + }, + { + "name":"e78" + } + ], + "variables":[ + { + "name":"a1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":8 + } + }, + { + "name":"a2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":8 + } + }, + { + "name":"a3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":8 + } + }, + { + "name":"a4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":8 + } + }, + { + "name":"a5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":8 + } + }, + { + "name":"a6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":8 + } + }, + { + "name":"a7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":8 + } + }, + { + "name":"a8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":8 + } + } + ], + "observables":[ + { + "name":"\"rounds\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":1 + }, + "right":{ + "op":"=", + "left":"a2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"a3", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"a4", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"a5", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"a6", + "right":6 + } + }, + "right":{ + "op":"=", + "left":"a7", + "right":7 + } + }, + "right":{ + "op":"=", + "left":"a8", + "right":8 + } + } + }, + "automata":[ + { + "name":"agent1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"rounds\"", + "value":1 + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e12", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":1 + }, + "right":{ + "op":">", + "left":8, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":2 + }, + "right":{ + "op":">", + "left":8, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":3 + }, + "right":{ + "op":">", + "left":8, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":4 + }, + "right":{ + "op":">", + "left":8, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":5 + }, + "right":{ + "op":">", + "left":8, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":6 + }, + "right":{ + "op":">", + "left":8, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":7 + }, + "right":{ + "op":">", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":8 + }, + "right":{ + "op":">", + "left":8, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e13", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":1 + }, + "right":{ + "op":">", + "left":7, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":2 + }, + "right":{ + "op":">", + "left":7, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":3 + }, + "right":{ + "op":">", + "left":7, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":4 + }, + "right":{ + "op":">", + "left":7, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":5 + }, + "right":{ + "op":">", + "left":7, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":6 + }, + "right":{ + "op":">", + "left":7, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":7 + }, + "right":{ + "op":">", + "left":7, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":8 + }, + "right":{ + "op":">", + "left":7, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e14", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":1 + }, + "right":{ + "op":">", + "left":6, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":2 + }, + "right":{ + "op":">", + "left":6, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":3 + }, + "right":{ + "op":">", + "left":6, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":4 + }, + "right":{ + "op":">", + "left":6, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":5 + }, + "right":{ + "op":">", + "left":6, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":6 + }, + "right":{ + "op":">", + "left":6, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":7 + }, + "right":{ + "op":">", + "left":6, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":8 + }, + "right":{ + "op":">", + "left":6, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e15", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":5 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":6 + }, + "right":{ + "op":">", + "left":4, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":7 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":8 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e16", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":1 + }, + "right":{ + "op":">", + "left":5, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":2 + }, + "right":{ + "op":">", + "left":5, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":3 + }, + "right":{ + "op":">", + "left":5, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":4 + }, + "right":{ + "op":">", + "left":5, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":5 + }, + "right":{ + "op":">", + "left":5, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":6 + }, + "right":{ + "op":">", + "left":5, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":7 + }, + "right":{ + "op":">", + "left":5, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":8 + }, + "right":{ + "op":">", + "left":5, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e17", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":5 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":6 + }, + "right":{ + "op":">", + "left":3, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":7 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":8 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e18", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":5 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":6 + }, + "right":{ + "op":">", + "left":2, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":7 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a1", + "right":8 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":2 + }, + "right":{ + "op":"=", + "left":"a1", + "right":3 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e24", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":2 + }, + "right":{ + "op":"=", + "left":"a1", + "right":4 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e25", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":2 + }, + "right":{ + "op":"=", + "left":"a1", + "right":5 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e26", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":2 + }, + "right":{ + "op":"=", + "left":"a1", + "right":6 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e27", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":2 + }, + "right":{ + "op":"=", + "left":"a1", + "right":7 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e28", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":2 + }, + "right":{ + "op":"=", + "left":"a1", + "right":8 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e34", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":3 + }, + "right":{ + "op":"=", + "left":"a1", + "right":4 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e35", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":3 + }, + "right":{ + "op":"=", + "left":"a1", + "right":5 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e36", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":3 + }, + "right":{ + "op":"=", + "left":"a1", + "right":6 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e37", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":3 + }, + "right":{ + "op":"=", + "left":"a1", + "right":7 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e38", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":3 + }, + "right":{ + "op":"=", + "left":"a1", + "right":8 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e45", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":4 + }, + "right":{ + "op":"=", + "left":"a1", + "right":5 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e46", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":4 + }, + "right":{ + "op":"=", + "left":"a1", + "right":6 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e47", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":4 + }, + "right":{ + "op":"=", + "left":"a1", + "right":7 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e48", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":4 + }, + "right":{ + "op":"=", + "left":"a1", + "right":8 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e56", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":5 + }, + "right":{ + "op":"=", + "left":"a1", + "right":6 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e57", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":5 + }, + "right":{ + "op":"=", + "left":"a1", + "right":7 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e58", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":5 + }, + "right":{ + "op":"=", + "left":"a1", + "right":8 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e67", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":6 + }, + "right":{ + "op":"=", + "left":"a1", + "right":7 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e68", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":6 + }, + "right":{ + "op":"=", + "left":"a1", + "right":8 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"e78", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a1", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a1", + "right":7 + }, + "right":{ + "op":"=", + "left":"a1", + "right":8 + } + }, + 1, + "a1" + ] + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"agent2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e23", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":2 + }, + "right":{ + "op":">", + "left":8, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":3 + }, + "right":{ + "op":">", + "left":8, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":4 + }, + "right":{ + "op":">", + "left":8, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":5 + }, + "right":{ + "op":">", + "left":8, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":6 + }, + "right":{ + "op":">", + "left":8, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":7 + }, + "right":{ + "op":">", + "left":8, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":8 + }, + "right":{ + "op":">", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":1 + }, + "right":{ + "op":">", + "left":8, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"e24", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":2 + }, + "right":{ + "op":">", + "left":6, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":3 + }, + "right":{ + "op":">", + "left":6, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":4 + }, + "right":{ + "op":">", + "left":6, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":5 + }, + "right":{ + "op":">", + "left":6, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":6 + }, + "right":{ + "op":">", + "left":6, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":7 + }, + "right":{ + "op":">", + "left":6, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":8 + }, + "right":{ + "op":">", + "left":6, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":1 + }, + "right":{ + "op":">", + "left":6, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"e25", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":2 + }, + "right":{ + "op":">", + "left":5, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":3 + }, + "right":{ + "op":">", + "left":5, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":4 + }, + "right":{ + "op":">", + "left":5, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":5 + }, + "right":{ + "op":">", + "left":5, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":6 + }, + "right":{ + "op":">", + "left":5, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":7 + }, + "right":{ + "op":">", + "left":5, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":8 + }, + "right":{ + "op":">", + "left":5, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":1 + }, + "right":{ + "op":">", + "left":5, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"e26", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":5 + }, + "right":{ + "op":">", + "left":4, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":6 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":7 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":8 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"e27", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":5 + }, + "right":{ + "op":">", + "left":2, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":6 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":7 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":8 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":7 + } + ] + } + ] + }, + { + "location":"location", + "action":"e28", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":5 + }, + "right":{ + "op":">", + "left":3, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":6 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":7 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":8 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"e12", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":2 + }, + "right":{ + "op":">", + "left":7, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":3 + }, + "right":{ + "op":">", + "left":7, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":4 + }, + "right":{ + "op":">", + "left":7, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":5 + }, + "right":{ + "op":">", + "left":7, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":6 + }, + "right":{ + "op":">", + "left":7, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":7 + }, + "right":{ + "op":">", + "left":7, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":8 + }, + "right":{ + "op":">", + "left":7, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a2", + "right":1 + }, + "right":{ + "op":">", + "left":7, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"e34", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":3 + }, + "right":{ + "op":"=", + "left":"a2", + "right":4 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e35", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":3 + }, + "right":{ + "op":"=", + "left":"a2", + "right":5 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e36", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":3 + }, + "right":{ + "op":"=", + "left":"a2", + "right":6 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e37", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":3 + }, + "right":{ + "op":"=", + "left":"a2", + "right":7 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e38", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":3 + }, + "right":{ + "op":"=", + "left":"a2", + "right":8 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e13", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":3 + }, + "right":{ + "op":"=", + "left":"a2", + "right":1 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e45", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":4 + }, + "right":{ + "op":"=", + "left":"a2", + "right":5 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e46", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":4 + }, + "right":{ + "op":"=", + "left":"a2", + "right":6 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e47", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":4 + }, + "right":{ + "op":"=", + "left":"a2", + "right":7 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e48", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":4 + }, + "right":{ + "op":"=", + "left":"a2", + "right":8 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e14", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":4 + }, + "right":{ + "op":"=", + "left":"a2", + "right":1 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e56", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":5 + }, + "right":{ + "op":"=", + "left":"a2", + "right":6 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e57", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":5 + }, + "right":{ + "op":"=", + "left":"a2", + "right":7 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e58", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":5 + }, + "right":{ + "op":"=", + "left":"a2", + "right":8 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e15", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":5 + }, + "right":{ + "op":"=", + "left":"a2", + "right":1 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e67", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":6 + }, + "right":{ + "op":"=", + "left":"a2", + "right":7 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e68", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":6 + }, + "right":{ + "op":"=", + "left":"a2", + "right":8 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e16", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":6 + }, + "right":{ + "op":"=", + "left":"a2", + "right":1 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e78", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":7 + }, + "right":{ + "op":"=", + "left":"a2", + "right":8 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e17", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":7 + }, + "right":{ + "op":"=", + "left":"a2", + "right":1 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e18", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a2", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a2", + "right":8 + }, + "right":{ + "op":"=", + "left":"a2", + "right":1 + } + }, + 2, + "a2" + ] + } + } + ] + } + ] + } + ] + }, + { + "name":"agent3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e34", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":3 + }, + "right":{ + "op":">", + "left":6, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":4 + }, + "right":{ + "op":">", + "left":6, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":5 + }, + "right":{ + "op":">", + "left":6, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":6 + }, + "right":{ + "op":">", + "left":6, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":7 + }, + "right":{ + "op":">", + "left":6, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":8 + }, + "right":{ + "op":">", + "left":6, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":1 + }, + "right":{ + "op":">", + "left":6, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":2 + }, + "right":{ + "op":">", + "left":6, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"e35", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":3 + }, + "right":{ + "op":">", + "left":5, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":4 + }, + "right":{ + "op":">", + "left":5, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":5 + }, + "right":{ + "op":">", + "left":5, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":6 + }, + "right":{ + "op":">", + "left":5, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":7 + }, + "right":{ + "op":">", + "left":5, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":8 + }, + "right":{ + "op":">", + "left":5, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":1 + }, + "right":{ + "op":">", + "left":5, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":2 + }, + "right":{ + "op":">", + "left":5, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"e36", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":5 + }, + "right":{ + "op":">", + "left":4, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":6 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":7 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":8 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"e37", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":5 + }, + "right":{ + "op":">", + "left":3, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":6 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":7 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":8 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":7 + } + ] + } + ] + }, + { + "location":"location", + "action":"e38", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":5 + }, + "right":{ + "op":">", + "left":2, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":6 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":7 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":8 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"e13", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":3 + }, + "right":{ + "op":">", + "left":8, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":4 + }, + "right":{ + "op":">", + "left":8, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":5 + }, + "right":{ + "op":">", + "left":8, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":6 + }, + "right":{ + "op":">", + "left":8, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":7 + }, + "right":{ + "op":">", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":8 + }, + "right":{ + "op":">", + "left":8, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":1 + }, + "right":{ + "op":">", + "left":8, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":2 + }, + "right":{ + "op":">", + "left":8, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":3 + }, + "right":{ + "op":">", + "left":7, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":4 + }, + "right":{ + "op":">", + "left":7, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":5 + }, + "right":{ + "op":">", + "left":7, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":6 + }, + "right":{ + "op":">", + "left":7, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":7 + }, + "right":{ + "op":">", + "left":7, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":8 + }, + "right":{ + "op":">", + "left":7, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":1 + }, + "right":{ + "op":">", + "left":7, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a3", + "right":2 + }, + "right":{ + "op":">", + "left":7, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"e45", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":4 + }, + "right":{ + "op":"=", + "left":"a3", + "right":5 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e46", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":4 + }, + "right":{ + "op":"=", + "left":"a3", + "right":6 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e47", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":4 + }, + "right":{ + "op":"=", + "left":"a3", + "right":7 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e48", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":4 + }, + "right":{ + "op":"=", + "left":"a3", + "right":8 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e14", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":4 + }, + "right":{ + "op":"=", + "left":"a3", + "right":1 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e24", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":4 + }, + "right":{ + "op":"=", + "left":"a3", + "right":2 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e56", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":5 + }, + "right":{ + "op":"=", + "left":"a3", + "right":6 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e57", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":5 + }, + "right":{ + "op":"=", + "left":"a3", + "right":7 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e58", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":5 + }, + "right":{ + "op":"=", + "left":"a3", + "right":8 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e15", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":5 + }, + "right":{ + "op":"=", + "left":"a3", + "right":1 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e25", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":5 + }, + "right":{ + "op":"=", + "left":"a3", + "right":2 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e67", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":6 + }, + "right":{ + "op":"=", + "left":"a3", + "right":7 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e68", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":6 + }, + "right":{ + "op":"=", + "left":"a3", + "right":8 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e16", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":6 + }, + "right":{ + "op":"=", + "left":"a3", + "right":1 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e26", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":6 + }, + "right":{ + "op":"=", + "left":"a3", + "right":2 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e78", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":7 + }, + "right":{ + "op":"=", + "left":"a3", + "right":8 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e17", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":7 + }, + "right":{ + "op":"=", + "left":"a3", + "right":1 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e27", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":7 + }, + "right":{ + "op":"=", + "left":"a3", + "right":2 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e18", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":8 + }, + "right":{ + "op":"=", + "left":"a3", + "right":1 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e28", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":8 + }, + "right":{ + "op":"=", + "left":"a3", + "right":2 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e12", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a3", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a3", + "right":1 + }, + "right":{ + "op":"=", + "left":"a3", + "right":2 + } + }, + 3, + "a3" + ] + } + } + ] + } + ] + } + ] + }, + { + "name":"agent4", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e45", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":4 + }, + "right":{ + "op":">", + "left":6, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":5 + }, + "right":{ + "op":">", + "left":6, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":6 + }, + "right":{ + "op":">", + "left":6, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":7 + }, + "right":{ + "op":">", + "left":6, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":8 + }, + "right":{ + "op":">", + "left":6, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":1 + }, + "right":{ + "op":">", + "left":6, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":2 + }, + "right":{ + "op":">", + "left":6, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":3 + }, + "right":{ + "op":">", + "left":6, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"e46", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":4 + }, + "right":{ + "op":">", + "left":8, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":5 + }, + "right":{ + "op":">", + "left":8, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":6 + }, + "right":{ + "op":">", + "left":8, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":7 + }, + "right":{ + "op":">", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":8 + }, + "right":{ + "op":">", + "left":8, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":1 + }, + "right":{ + "op":">", + "left":8, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":2 + }, + "right":{ + "op":">", + "left":8, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":3 + }, + "right":{ + "op":">", + "left":8, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"e47", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":5 + }, + "right":{ + "op":">", + "left":3, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":6 + }, + "right":{ + "op":">", + "left":3, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":7 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":8 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":7 + } + ] + } + ] + }, + { + "location":"location", + "action":"e48", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":5 + }, + "right":{ + "op":">", + "left":2, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":6 + }, + "right":{ + "op":">", + "left":2, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":7 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":8 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"e14", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":4 + }, + "right":{ + "op":">", + "left":5, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":5 + }, + "right":{ + "op":">", + "left":5, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":6 + }, + "right":{ + "op":">", + "left":5, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":7 + }, + "right":{ + "op":">", + "left":5, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":8 + }, + "right":{ + "op":">", + "left":5, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":1 + }, + "right":{ + "op":">", + "left":5, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":2 + }, + "right":{ + "op":">", + "left":5, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":3 + }, + "right":{ + "op":">", + "left":5, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"e24", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":5 + }, + "right":{ + "op":">", + "left":4, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":6 + }, + "right":{ + "op":">", + "left":4, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":7 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":8 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"e34", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":4 + }, + "right":{ + "op":">", + "left":7, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":5 + }, + "right":{ + "op":">", + "left":7, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":6 + }, + "right":{ + "op":">", + "left":7, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":7 + }, + "right":{ + "op":">", + "left":7, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":8 + }, + "right":{ + "op":">", + "left":7, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":1 + }, + "right":{ + "op":">", + "left":7, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":2 + }, + "right":{ + "op":">", + "left":7, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a4", + "right":3 + }, + "right":{ + "op":">", + "left":7, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"e56", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":5 + }, + "right":{ + "op":"=", + "left":"a4", + "right":6 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e57", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":5 + }, + "right":{ + "op":"=", + "left":"a4", + "right":7 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e58", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":5 + }, + "right":{ + "op":"=", + "left":"a4", + "right":8 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e15", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":5 + }, + "right":{ + "op":"=", + "left":"a4", + "right":1 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e25", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":5 + }, + "right":{ + "op":"=", + "left":"a4", + "right":2 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e35", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":5 + }, + "right":{ + "op":"=", + "left":"a4", + "right":3 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e67", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":6 + }, + "right":{ + "op":"=", + "left":"a4", + "right":7 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e68", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":6 + }, + "right":{ + "op":"=", + "left":"a4", + "right":8 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e16", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":6 + }, + "right":{ + "op":"=", + "left":"a4", + "right":1 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e26", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":6 + }, + "right":{ + "op":"=", + "left":"a4", + "right":2 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e36", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":6 + }, + "right":{ + "op":"=", + "left":"a4", + "right":3 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e78", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":7 + }, + "right":{ + "op":"=", + "left":"a4", + "right":8 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e17", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":7 + }, + "right":{ + "op":"=", + "left":"a4", + "right":1 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e27", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":7 + }, + "right":{ + "op":"=", + "left":"a4", + "right":2 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e37", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":7 + }, + "right":{ + "op":"=", + "left":"a4", + "right":3 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e18", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":8 + }, + "right":{ + "op":"=", + "left":"a4", + "right":1 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e28", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":8 + }, + "right":{ + "op":"=", + "left":"a4", + "right":2 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e38", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":8 + }, + "right":{ + "op":"=", + "left":"a4", + "right":3 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e12", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":1 + }, + "right":{ + "op":"=", + "left":"a4", + "right":2 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e13", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":1 + }, + "right":{ + "op":"=", + "left":"a4", + "right":3 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a4", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a4", + "right":2 + }, + "right":{ + "op":"=", + "left":"a4", + "right":3 + } + }, + 4, + "a4" + ] + } + } + ] + } + ] + } + ] + }, + { + "name":"agent5", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e56", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":5 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":6 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":7 + }, + "right":{ + "op":">", + "left":3, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":8 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"e57", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":5 + }, + "right":{ + "op":">", + "left":7, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":6 + }, + "right":{ + "op":">", + "left":7, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":7 + }, + "right":{ + "op":">", + "left":7, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":8 + }, + "right":{ + "op":">", + "left":7, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":1 + }, + "right":{ + "op":">", + "left":7, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":2 + }, + "right":{ + "op":">", + "left":7, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":3 + }, + "right":{ + "op":">", + "left":7, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":4 + }, + "right":{ + "op":">", + "left":7, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":7 + } + ] + } + ] + }, + { + "location":"location", + "action":"e58", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":5 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":6 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":7 + }, + "right":{ + "op":">", + "left":2, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":8 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"e15", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":5 + }, + "right":{ + "op":">", + "left":6, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":6 + }, + "right":{ + "op":">", + "left":6, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":7 + }, + "right":{ + "op":">", + "left":6, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":8 + }, + "right":{ + "op":">", + "left":6, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":1 + }, + "right":{ + "op":">", + "left":6, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":2 + }, + "right":{ + "op":">", + "left":6, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":3 + }, + "right":{ + "op":">", + "left":6, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":4 + }, + "right":{ + "op":">", + "left":6, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"e25", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":5 + }, + "right":{ + "op":">", + "left":5, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":6 + }, + "right":{ + "op":">", + "left":5, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":7 + }, + "right":{ + "op":">", + "left":5, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":8 + }, + "right":{ + "op":">", + "left":5, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":1 + }, + "right":{ + "op":">", + "left":5, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":2 + }, + "right":{ + "op":">", + "left":5, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":3 + }, + "right":{ + "op":">", + "left":5, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":4 + }, + "right":{ + "op":">", + "left":5, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"e35", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":5 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":6 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":7 + }, + "right":{ + "op":">", + "left":4, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":8 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"e45", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":5 + }, + "right":{ + "op":">", + "left":8, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":6 + }, + "right":{ + "op":">", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":7 + }, + "right":{ + "op":">", + "left":8, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":8 + }, + "right":{ + "op":">", + "left":8, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":1 + }, + "right":{ + "op":">", + "left":8, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":2 + }, + "right":{ + "op":">", + "left":8, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":3 + }, + "right":{ + "op":">", + "left":8, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a5", + "right":4 + }, + "right":{ + "op":">", + "left":8, + "right":8 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"e67", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":6 + }, + "right":{ + "op":"=", + "left":"a5", + "right":7 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e68", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":6 + }, + "right":{ + "op":"=", + "left":"a5", + "right":8 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e16", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":6 + }, + "right":{ + "op":"=", + "left":"a5", + "right":1 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e26", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":6 + }, + "right":{ + "op":"=", + "left":"a5", + "right":2 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e36", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":6 + }, + "right":{ + "op":"=", + "left":"a5", + "right":3 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e46", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":6 + }, + "right":{ + "op":"=", + "left":"a5", + "right":4 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e78", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":7 + }, + "right":{ + "op":"=", + "left":"a5", + "right":8 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e17", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":7 + }, + "right":{ + "op":"=", + "left":"a5", + "right":1 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e27", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":7 + }, + "right":{ + "op":"=", + "left":"a5", + "right":2 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e37", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":7 + }, + "right":{ + "op":"=", + "left":"a5", + "right":3 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e47", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":7 + }, + "right":{ + "op":"=", + "left":"a5", + "right":4 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e18", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":8 + }, + "right":{ + "op":"=", + "left":"a5", + "right":1 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e28", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":8 + }, + "right":{ + "op":"=", + "left":"a5", + "right":2 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e38", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":8 + }, + "right":{ + "op":"=", + "left":"a5", + "right":3 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e48", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":8 + }, + "right":{ + "op":"=", + "left":"a5", + "right":4 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e12", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":1 + }, + "right":{ + "op":"=", + "left":"a5", + "right":2 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e13", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":1 + }, + "right":{ + "op":"=", + "left":"a5", + "right":3 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e14", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":1 + }, + "right":{ + "op":"=", + "left":"a5", + "right":4 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":2 + }, + "right":{ + "op":"=", + "left":"a5", + "right":3 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e24", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":2 + }, + "right":{ + "op":"=", + "left":"a5", + "right":4 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e34", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a5", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a5", + "right":3 + }, + "right":{ + "op":"=", + "left":"a5", + "right":4 + } + }, + 5, + "a5" + ] + } + } + ] + } + ] + } + ] + }, + { + "name":"agent6", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e67", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":6 + }, + "right":{ + "op":">", + "left":8, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":7 + }, + "right":{ + "op":">", + "left":8, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":8 + }, + "right":{ + "op":">", + "left":8, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":1 + }, + "right":{ + "op":">", + "left":8, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":2 + }, + "right":{ + "op":">", + "left":8, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":3 + }, + "right":{ + "op":">", + "left":8, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":4 + }, + "right":{ + "op":">", + "left":8, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":5 + }, + "right":{ + "op":">", + "left":8, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":7 + } + ] + } + ] + }, + { + "location":"location", + "action":"e68", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":6 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":7 + }, + "right":{ + "op":">", + "left":2, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":8 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":5 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"e16", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":6 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":7 + }, + "right":{ + "op":">", + "left":4, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":8 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":5 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"e26", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":6 + }, + "right":{ + "op":">", + "left":6, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":7 + }, + "right":{ + "op":">", + "left":6, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":8 + }, + "right":{ + "op":">", + "left":6, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":1 + }, + "right":{ + "op":">", + "left":6, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":2 + }, + "right":{ + "op":">", + "left":6, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":3 + }, + "right":{ + "op":">", + "left":6, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":4 + }, + "right":{ + "op":">", + "left":6, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":5 + }, + "right":{ + "op":">", + "left":6, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"e36", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":6 + }, + "right":{ + "op":">", + "left":5, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":7 + }, + "right":{ + "op":">", + "left":5, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":8 + }, + "right":{ + "op":">", + "left":5, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":1 + }, + "right":{ + "op":">", + "left":5, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":2 + }, + "right":{ + "op":">", + "left":5, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":3 + }, + "right":{ + "op":">", + "left":5, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":4 + }, + "right":{ + "op":">", + "left":5, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":5 + }, + "right":{ + "op":">", + "left":5, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"e46", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":6 + }, + "right":{ + "op":">", + "left":7, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":7 + }, + "right":{ + "op":">", + "left":7, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":8 + }, + "right":{ + "op":">", + "left":7, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":1 + }, + "right":{ + "op":">", + "left":7, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":2 + }, + "right":{ + "op":">", + "left":7, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":3 + }, + "right":{ + "op":">", + "left":7, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":4 + }, + "right":{ + "op":">", + "left":7, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":5 + }, + "right":{ + "op":">", + "left":7, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"e56", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":6 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":7 + }, + "right":{ + "op":">", + "left":3, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":8 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a6", + "right":5 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"e78", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":7 + }, + "right":{ + "op":"=", + "left":"a6", + "right":8 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e17", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":7 + }, + "right":{ + "op":"=", + "left":"a6", + "right":1 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e27", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":7 + }, + "right":{ + "op":"=", + "left":"a6", + "right":2 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e37", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":7 + }, + "right":{ + "op":"=", + "left":"a6", + "right":3 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e47", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":7 + }, + "right":{ + "op":"=", + "left":"a6", + "right":4 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e57", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":7 + }, + "right":{ + "op":"=", + "left":"a6", + "right":5 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e18", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":8 + }, + "right":{ + "op":"=", + "left":"a6", + "right":1 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e28", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":8 + }, + "right":{ + "op":"=", + "left":"a6", + "right":2 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e38", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":8 + }, + "right":{ + "op":"=", + "left":"a6", + "right":3 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e48", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":8 + }, + "right":{ + "op":"=", + "left":"a6", + "right":4 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e58", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":8 + }, + "right":{ + "op":"=", + "left":"a6", + "right":5 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e12", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":1 + }, + "right":{ + "op":"=", + "left":"a6", + "right":2 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e13", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":1 + }, + "right":{ + "op":"=", + "left":"a6", + "right":3 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e14", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":1 + }, + "right":{ + "op":"=", + "left":"a6", + "right":4 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e15", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":1 + }, + "right":{ + "op":"=", + "left":"a6", + "right":5 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":2 + }, + "right":{ + "op":"=", + "left":"a6", + "right":3 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e24", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":2 + }, + "right":{ + "op":"=", + "left":"a6", + "right":4 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e25", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":2 + }, + "right":{ + "op":"=", + "left":"a6", + "right":5 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e34", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":3 + }, + "right":{ + "op":"=", + "left":"a6", + "right":4 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e35", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":3 + }, + "right":{ + "op":"=", + "left":"a6", + "right":5 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e45", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a6", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a6", + "right":4 + }, + "right":{ + "op":"=", + "left":"a6", + "right":5 + } + }, + 6, + "a6" + ] + } + } + ] + } + ] + } + ] + }, + { + "name":"agent7", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e78", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":7 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":8 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":5 + }, + "right":{ + "op":">", + "left":2, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":6 + }, + "right":{ + "op":">", + "left":2, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":8 + } + ] + } + ] + }, + { + "location":"location", + "action":"e17", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":7 + }, + "right":{ + "op":">", + "left":6, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":8 + }, + "right":{ + "op":">", + "left":6, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":1 + }, + "right":{ + "op":">", + "left":6, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":2 + }, + "right":{ + "op":">", + "left":6, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":3 + }, + "right":{ + "op":">", + "left":6, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":4 + }, + "right":{ + "op":">", + "left":6, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":5 + }, + "right":{ + "op":">", + "left":6, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":6 + }, + "right":{ + "op":">", + "left":6, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"e27", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":7 + }, + "right":{ + "op":">", + "left":5, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":8 + }, + "right":{ + "op":">", + "left":5, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":1 + }, + "right":{ + "op":">", + "left":5, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":2 + }, + "right":{ + "op":">", + "left":5, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":3 + }, + "right":{ + "op":">", + "left":5, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":4 + }, + "right":{ + "op":">", + "left":5, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":5 + }, + "right":{ + "op":">", + "left":5, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":6 + }, + "right":{ + "op":">", + "left":5, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"e37", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":7 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":8 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":5 + }, + "right":{ + "op":">", + "left":4, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":6 + }, + "right":{ + "op":">", + "left":4, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"e47", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":7 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":8 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":5 + }, + "right":{ + "op":">", + "left":3, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":6 + }, + "right":{ + "op":">", + "left":3, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"e57", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":7 + }, + "right":{ + "op":">", + "left":8, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":8 + }, + "right":{ + "op":">", + "left":8, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":1 + }, + "right":{ + "op":">", + "left":8, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":2 + }, + "right":{ + "op":">", + "left":8, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":3 + }, + "right":{ + "op":">", + "left":8, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":4 + }, + "right":{ + "op":">", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":5 + }, + "right":{ + "op":">", + "left":8, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":6 + }, + "right":{ + "op":">", + "left":8, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"e67", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":7 + }, + "right":{ + "op":">", + "left":7, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":8 + }, + "right":{ + "op":">", + "left":7, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":1 + }, + "right":{ + "op":">", + "left":7, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":2 + }, + "right":{ + "op":">", + "left":7, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":3 + }, + "right":{ + "op":">", + "left":7, + "right":4 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":4 + }, + "right":{ + "op":">", + "left":7, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":5 + }, + "right":{ + "op":">", + "left":7, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a7", + "right":6 + }, + "right":{ + "op":">", + "left":7, + "right":7 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"e18", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":8 + }, + "right":{ + "op":"=", + "left":"a7", + "right":1 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e28", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":8 + }, + "right":{ + "op":"=", + "left":"a7", + "right":2 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e38", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":8 + }, + "right":{ + "op":"=", + "left":"a7", + "right":3 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e48", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":8 + }, + "right":{ + "op":"=", + "left":"a7", + "right":4 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e58", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":8 + }, + "right":{ + "op":"=", + "left":"a7", + "right":5 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e68", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":8 + }, + "right":{ + "op":"=", + "left":"a7", + "right":6 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e12", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":1 + }, + "right":{ + "op":"=", + "left":"a7", + "right":2 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e13", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":1 + }, + "right":{ + "op":"=", + "left":"a7", + "right":3 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e14", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":1 + }, + "right":{ + "op":"=", + "left":"a7", + "right":4 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e15", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":1 + }, + "right":{ + "op":"=", + "left":"a7", + "right":5 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e16", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":1 + }, + "right":{ + "op":"=", + "left":"a7", + "right":6 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":2 + }, + "right":{ + "op":"=", + "left":"a7", + "right":3 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e24", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":2 + }, + "right":{ + "op":"=", + "left":"a7", + "right":4 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e25", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":2 + }, + "right":{ + "op":"=", + "left":"a7", + "right":5 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e26", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":2 + }, + "right":{ + "op":"=", + "left":"a7", + "right":6 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e34", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":3 + }, + "right":{ + "op":"=", + "left":"a7", + "right":4 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e35", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":3 + }, + "right":{ + "op":"=", + "left":"a7", + "right":5 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e36", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":3 + }, + "right":{ + "op":"=", + "left":"a7", + "right":6 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e45", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":4 + }, + "right":{ + "op":"=", + "left":"a7", + "right":5 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e46", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":4 + }, + "right":{ + "op":"=", + "left":"a7", + "right":6 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e56", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a7", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a7", + "right":5 + }, + "right":{ + "op":"=", + "left":"a7", + "right":6 + } + }, + 7, + "a7" + ] + } + } + ] + } + ] + } + ] + }, + { + "name":"agent8", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"e18", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":8 + }, + "right":{ + "op":">", + "left":6, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":1 + }, + "right":{ + "op":">", + "left":6, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":2 + }, + "right":{ + "op":">", + "left":6, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":3 + }, + "right":{ + "op":">", + "left":6, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":4 + }, + "right":{ + "op":">", + "left":6, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":5 + }, + "right":{ + "op":">", + "left":6, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":6 + }, + "right":{ + "op":">", + "left":6, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":7 + }, + "right":{ + "op":">", + "left":6, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"e28", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":8 + }, + "right":{ + "op":">", + "left":5, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":1 + }, + "right":{ + "op":">", + "left":5, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":2 + }, + "right":{ + "op":">", + "left":5, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":3 + }, + "right":{ + "op":">", + "left":5, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":4 + }, + "right":{ + "op":">", + "left":5, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":5 + }, + "right":{ + "op":">", + "left":5, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":6 + }, + "right":{ + "op":">", + "left":5, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":7 + }, + "right":{ + "op":">", + "left":5, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"e38", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":8 + }, + "right":{ + "op":">", + "left":8, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":1 + }, + "right":{ + "op":">", + "left":8, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":2 + }, + "right":{ + "op":">", + "left":8, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":3 + }, + "right":{ + "op":">", + "left":8, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":4 + }, + "right":{ + "op":">", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":5 + }, + "right":{ + "op":">", + "left":8, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":6 + }, + "right":{ + "op":">", + "left":8, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":7 + }, + "right":{ + "op":">", + "left":8, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":3 + } + ] + } + ] + }, + { + "location":"location", + "action":"e48", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":8 + }, + "right":{ + "op":">", + "left":3, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":1 + }, + "right":{ + "op":">", + "left":3, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":2 + }, + "right":{ + "op":">", + "left":3, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":3 + }, + "right":{ + "op":">", + "left":3, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":4 + }, + "right":{ + "op":">", + "left":3, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":5 + }, + "right":{ + "op":">", + "left":3, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":6 + }, + "right":{ + "op":">", + "left":3, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":7 + }, + "right":{ + "op":">", + "left":3, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":4 + } + ] + } + ] + }, + { + "location":"location", + "action":"e58", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":8 + }, + "right":{ + "op":">", + "left":2, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":1 + }, + "right":{ + "op":">", + "left":2, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":2 + }, + "right":{ + "op":">", + "left":2, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":3 + }, + "right":{ + "op":">", + "left":2, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":4 + }, + "right":{ + "op":">", + "left":2, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":5 + }, + "right":{ + "op":">", + "left":2, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":6 + }, + "right":{ + "op":">", + "left":2, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":7 + }, + "right":{ + "op":">", + "left":2, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":5 + } + ] + } + ] + }, + { + "location":"location", + "action":"e68", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":8 + }, + "right":{ + "op":">", + "left":1, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":1 + }, + "right":{ + "op":">", + "left":1, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":2 + }, + "right":{ + "op":">", + "left":1, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":3 + }, + "right":{ + "op":">", + "left":1, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":4 + }, + "right":{ + "op":">", + "left":1, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":5 + }, + "right":{ + "op":">", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":6 + }, + "right":{ + "op":">", + "left":1, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":7 + }, + "right":{ + "op":">", + "left":1, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"e78", + "guard":{ + "exp":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":0 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":8 + }, + "right":{ + "op":">", + "left":4, + "right":7 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":1 + }, + "right":{ + "op":">", + "left":4, + "right":6 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":2 + }, + "right":{ + "op":">", + "left":4, + "right":5 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":3 + }, + "right":{ + "op":">", + "left":4, + "right":8 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":4 + }, + "right":{ + "op":">", + "left":4, + "right":3 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":5 + }, + "right":{ + "op":">", + "left":4, + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":6 + }, + "right":{ + "op":">", + "left":4, + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"a8", + "right":7 + }, + "right":{ + "op":">", + "left":4, + "right":4 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":7 + } + ] + } + ] + }, + { + "location":"location", + "action":"e12", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":1 + }, + "right":{ + "op":"=", + "left":"a8", + "right":2 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e13", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":1 + }, + "right":{ + "op":"=", + "left":"a8", + "right":3 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e14", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":1 + }, + "right":{ + "op":"=", + "left":"a8", + "right":4 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e15", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":1 + }, + "right":{ + "op":"=", + "left":"a8", + "right":5 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e16", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":1 + }, + "right":{ + "op":"=", + "left":"a8", + "right":6 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e17", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":1 + }, + "right":{ + "op":"=", + "left":"a8", + "right":7 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e23", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":2 + }, + "right":{ + "op":"=", + "left":"a8", + "right":3 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e24", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":2 + }, + "right":{ + "op":"=", + "left":"a8", + "right":4 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e25", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":2 + }, + "right":{ + "op":"=", + "left":"a8", + "right":5 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e26", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":2 + }, + "right":{ + "op":"=", + "left":"a8", + "right":6 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e27", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":2 + }, + "right":{ + "op":"=", + "left":"a8", + "right":7 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e34", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":3 + }, + "right":{ + "op":"=", + "left":"a8", + "right":4 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e35", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":3 + }, + "right":{ + "op":"=", + "left":"a8", + "right":5 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e36", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":3 + }, + "right":{ + "op":"=", + "left":"a8", + "right":6 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e37", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":3 + }, + "right":{ + "op":"=", + "left":"a8", + "right":7 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e45", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":4 + }, + "right":{ + "op":"=", + "left":"a8", + "right":5 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e46", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":4 + }, + "right":{ + "op":"=", + "left":"a8", + "right":6 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e47", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":4 + }, + "right":{ + "op":"=", + "left":"a8", + "right":7 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e56", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":5 + }, + "right":{ + "op":"=", + "left":"a8", + "right":6 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e57", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":5 + }, + "right":{ + "op":"=", + "left":"a8", + "right":7 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"e67", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a8", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"=", + "left":"a8", + "right":6 + }, + "right":{ + "op":"=", + "left":"a8", + "right":7 + } + }, + 8, + "a8" + ] + } + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"agent1" + }, + { + "automaton":"agent2" + }, + { + "automaton":"agent3" + }, + { + "automaton":"agent4" + }, + { + "automaton":"agent5" + }, + { + "automaton":"agent6" + }, + { + "automaton":"agent7" + }, + { + "automaton":"agent8" + } + ], + "syncs":[ + { + "synchronise":[ + "e12", + "e12", + "e12", + "e12", + "e12", + "e12", + "e12", + "e12" + ], + "result":"e12" + }, + { + "synchronise":[ + "e13", + "e13", + "e13", + "e13", + "e13", + "e13", + "e13", + "e13" + ], + "result":"e13" + }, + { + "synchronise":[ + "e14", + "e14", + "e14", + "e14", + "e14", + "e14", + "e14", + "e14" + ], + "result":"e14" + }, + { + "synchronise":[ + "e15", + "e15", + "e15", + "e15", + "e15", + "e15", + "e15", + "e15" + ], + "result":"e15" + }, + { + "synchronise":[ + "e16", + "e16", + "e16", + "e16", + "e16", + "e16", + "e16", + "e16" + ], + "result":"e16" + }, + { + "synchronise":[ + "e17", + "e17", + "e17", + "e17", + "e17", + "e17", + "e17", + "e17" + ], + "result":"e17" + }, + { + "synchronise":[ + "e18", + "e18", + "e18", + "e18", + "e18", + "e18", + "e18", + "e18" + ], + "result":"e18" + }, + { + "synchronise":[ + "e23", + "e23", + "e23", + "e23", + "e23", + "e23", + "e23", + "e23" + ], + "result":"e23" + }, + { + "synchronise":[ + "e24", + "e24", + "e24", + "e24", + "e24", + "e24", + "e24", + "e24" + ], + "result":"e24" + }, + { + "synchronise":[ + "e25", + "e25", + "e25", + "e25", + "e25", + "e25", + "e25", + "e25" + ], + "result":"e25" + }, + { + "synchronise":[ + "e26", + "e26", + "e26", + "e26", + "e26", + "e26", + "e26", + "e26" + ], + "result":"e26" + }, + { + "synchronise":[ + "e27", + "e27", + "e27", + "e27", + "e27", + "e27", + "e27", + "e27" + ], + "result":"e27" + }, + { + "synchronise":[ + "e28", + "e28", + "e28", + "e28", + "e28", + "e28", + "e28", + "e28" + ], + "result":"e28" + }, + { + "synchronise":[ + "e34", + "e34", + "e34", + "e34", + "e34", + "e34", + "e34", + "e34" + ], + "result":"e34" + }, + { + "synchronise":[ + "e35", + "e35", + "e35", + "e35", + "e35", + "e35", + "e35", + "e35" + ], + "result":"e35" + }, + { + "synchronise":[ + "e36", + "e36", + "e36", + "e36", + "e36", + "e36", + "e36", + "e36" + ], + "result":"e36" + }, + { + "synchronise":[ + "e37", + "e37", + "e37", + "e37", + "e37", + "e37", + "e37", + "e37" + ], + "result":"e37" + }, + { + "synchronise":[ + "e38", + "e38", + "e38", + "e38", + "e38", + "e38", + "e38", + "e38" + ], + "result":"e38" + }, + { + "synchronise":[ + "e45", + "e45", + "e45", + "e45", + "e45", + "e45", + "e45", + "e45" + ], + "result":"e45" + }, + { + "synchronise":[ + "e46", + "e46", + "e46", + "e46", + "e46", + "e46", + "e46", + "e46" + ], + "result":"e46" + }, + { + "synchronise":[ + "e47", + "e47", + "e47", + "e47", + "e47", + "e47", + "e47", + "e47" + ], + "result":"e47" + }, + { + "synchronise":[ + "e48", + "e48", + "e48", + "e48", + "e48", + "e48", + "e48", + "e48" + ], + "result":"e48" + }, + { + "synchronise":[ + "e56", + "e56", + "e56", + "e56", + "e56", + "e56", + "e56", + "e56" + ], + "result":"e56" + }, + { + "synchronise":[ + "e57", + "e57", + "e57", + "e57", + "e57", + "e57", + "e57", + "e57" + ], + "result":"e57" + }, + { + "synchronise":[ + "e58", + "e58", + "e58", + "e58", + "e58", + "e58", + "e58", + "e58" + ], + "result":"e58" + }, + { + "synchronise":[ + "e67", + "e67", + "e67", + "e67", + "e67", + "e67", + "e67", + "e67" + ], + "result":"e67" + }, + { + "synchronise":[ + "e68", + "e68", + "e68", + "e68", + "e68", + "e68", + "e68", + "e68" + ], + "result":"e68" + }, + { + "synchronise":[ + "e78", + "e78", + "e78", + "e78", + "e78", + "e78", + "e78", + "e78" + ], + "result":"e78" + } + ] + } +} diff --git a/examples/exported-jani-models/static_edf.jani b/examples/exported-jani-models/static_edf.jani new file mode 100644 index 000000000..2a0236c51 --- /dev/null +++ b/examples/exported-jani-models/static_edf.jani @@ -0,0 +1,15592 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"step1" + }, + { + "name":"step2" + }, + { + "name":"step3" + }, + { + "name":"step" + } + ], + "variables":[ + { + "name":"d1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + { + "name":"t1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + } + } + }, + { + "name":"f1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"d2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + { + "name":"t2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + } + } + }, + { + "name":"f2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"d3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + { + "name":"t3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + } + } + }, + { + "name":"f3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"\"power\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"=", + "left":"t1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"d2", + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"=", + "left":"t2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"d3", + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"=", + "left":"t3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":0 + } + } + }, + "automata":[ + { + "name":"task1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d2" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d3" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t1" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + }, + { + "ref":"t1", + "value":{ + "op":"+", + "left":"t1", + "right":4 + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t1" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + }, + { + "ref":"f1", + "value":1 + }, + { + "ref":"t1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d2" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d3" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t1" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t1" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"*", + "left":8, + "right":3 + } + }, + { + "ref":"f1", + "value":0 + }, + { + "ref":"t1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d2" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d3" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":">", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":3, + "right":4 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t1" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + }, + { + "ref":"t1", + "value":{ + "op":"+", + "left":"t1", + "right":3 + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":3, + "right":4 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t1" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + }, + { + "ref":"f1", + "value":1 + }, + { + "ref":"t1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d2" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d3" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"=", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":3, + "right":4 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t1" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":3, + "right":4 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t1" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"*", + "left":8, + "right":3 + } + }, + { + "ref":"f1", + "value":0 + }, + { + "ref":"t1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d2" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d3" + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":">", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t1" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + }, + { + "ref":"t1", + "value":{ + "op":"+", + "left":"t1", + "right":2 + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t1" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + }, + { + "ref":"f1", + "value":1 + }, + { + "ref":"t1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d2" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d1", + "right":"d3" + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t1" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t1" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"*", + "left":8, + "right":3 + } + }, + { + "ref":"f1", + "value":0 + }, + { + "ref":"t1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":">", + "left":"d1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"*", + "left":8, + "right":3 + } + }, + { + "ref":"f1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"f1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":">", + "left":"d1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"*", + "left":8, + "right":3 + } + }, + { + "ref":"f1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"f1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"power\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":1 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 25, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 16, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + } + }, + 9, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + }, + "right":{ + "op":">", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"-", + "left":"d1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f1", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"d1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d1", + "value":{ + "op":"*", + "left":8, + "right":3 + } + }, + { + "ref":"f1", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"task2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d3" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d1" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t2" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + }, + { + "ref":"t2", + "value":{ + "op":"+", + "left":"t2", + "right":4 + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t2" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + }, + { + "ref":"f2", + "value":1 + }, + { + "ref":"t2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d3" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d1" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t2" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f2", + "value":2 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t2" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"*", + "left":10, + "right":3 + } + }, + { + "ref":"f2", + "value":0 + }, + { + "ref":"t2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d3" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d1" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":">", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":3, + "right":4 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t2" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + }, + { + "ref":"t2", + "value":{ + "op":"+", + "left":"t2", + "right":3 + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":3, + "right":4 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t2" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + }, + { + "ref":"f2", + "value":1 + }, + { + "ref":"t2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d3" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d1" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"=", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":3, + "right":4 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t2" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f2", + "value":2 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":3, + "right":4 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t2" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"*", + "left":10, + "right":3 + } + }, + { + "ref":"f2", + "value":0 + }, + { + "ref":"t2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d3" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d1" + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":">", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t2" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + }, + { + "ref":"t2", + "value":{ + "op":"+", + "left":"t2", + "right":2 + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t2" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + }, + { + "ref":"f2", + "value":1 + }, + { + "ref":"t2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f3", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d3" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d2", + "right":"d1" + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t2" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f2", + "value":2 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":3, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t2" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"*", + "left":10, + "right":3 + } + }, + { + "ref":"f2", + "value":0 + }, + { + "ref":"t2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":">", + "left":"d2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"*", + "left":10, + "right":3 + } + }, + { + "ref":"f2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"f2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":">", + "left":"d2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"*", + "left":10, + "right":3 + } + }, + { + "ref":"f2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d2", + "right":1 + }, + "right":{ + "op":"=", + "left":"f2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"f2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":1 + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"-", + "left":"d2", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f2", + "right":1 + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"d2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d2", + "value":{ + "op":"*", + "left":10, + "right":3 + } + }, + { + "ref":"f2", + "value":0 + } + ] + } + ] + } + ] + }, + { + "name":"task3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d1" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d2" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":1 + } + } + }, + "right":{ + "op":">", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t3" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + }, + { + "ref":"t3", + "value":{ + "op":"+", + "left":"t3", + "right":4 + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t3" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + }, + { + "ref":"f3", + "value":1 + }, + { + "ref":"t3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d1" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d2" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":1 + } + } + }, + "right":{ + "op":"=", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t3" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f3", + "value":2 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t3" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"*", + "left":14, + "right":3 + } + }, + { + "ref":"f3", + "value":0 + }, + { + "ref":"t3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d1" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d2" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":">", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":3, + "right":4 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t3" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + }, + { + "ref":"t3", + "value":{ + "op":"+", + "left":"t3", + "right":3 + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":3, + "right":4 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t3" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + }, + { + "ref":"f3", + "value":1 + }, + { + "ref":"t3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d1" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d2" + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":3, + "right":4 + } + } + } + }, + "right":{ + "op":"=", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":3, + "right":4 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t3" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f3", + "value":2 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":3, + "right":4 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t3" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"*", + "left":14, + "right":3 + } + }, + { + "ref":"f3", + "value":0 + }, + { + "ref":"t3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d1" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d2" + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":">", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t3" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + }, + { + "ref":"t3", + "value":{ + "op":"+", + "left":"t3", + "right":2 + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t3" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + }, + { + "ref":"f3", + "value":1 + }, + { + "ref":"t3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step3", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":0 + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f1", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d1" + } + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"f2", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"d3", + "right":"d2" + } + } + }, + "right":{ + "op":"≤", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":14, + "right":3 + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":3, + "right":3 + }, + "right":{ + "op":"*", + "left":8, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":{ + "op":"*", + "left":1, + "right":3 + }, + "right":{ + "op":"*", + "left":10, + "right":3 + } + } + }, + "right":{ + "op":"/", + "left":1, + "right":2 + } + } + }, + "right":{ + "op":"=", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t3" + } + }, + "right":1 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"f3", + "value":2 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"min", + "left":{ + "op":"/", + "left":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":2 + }, + "right":4 + }, + "right":{ + "op":"-", + "left":{ + "op":"*", + "left":1, + "right":{ + "op":"*", + "left":4, + "right":3 + } + }, + "right":"t3" + } + }, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"*", + "left":14, + "right":3 + } + }, + { + "ref":"f3", + "value":0 + }, + { + "ref":"t3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":">", + "left":"d3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":1 + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"*", + "left":14, + "right":3 + } + }, + { + "ref":"f3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":1 + }, + "right":{ + "op":"=", + "left":"f3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"f3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":">", + "left":"d3", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":1 + }, + "right":{ + "op":"=", + "left":"f3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"*", + "left":14, + "right":3 + } + }, + { + "ref":"f3", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"step2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"d3", + "right":1 + }, + "right":{ + "op":"=", + "left":"f3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"f3", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":1 + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"-", + "left":"d3", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"f3", + "right":1 + }, + "right":{ + "op":"=", + "left":"f1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"f2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"d3", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"d3", + "value":{ + "op":"*", + "left":14, + "right":3 + } + }, + { + "ref":"f3", + "value":0 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"task1" + }, + { + "automaton":"task2" + }, + { + "automaton":"task3" + } + ], + "syncs":[ + { + "synchronise":[ + "step1", + "step1", + "step1" + ], + "result":"step1" + }, + { + "synchronise":[ + "step2", + "step2", + "step2" + ], + "result":"step2" + }, + { + "synchronise":[ + "step3", + "step3", + "step3" + ], + "result":"step3" + }, + { + "synchronise":[ + "step", + "step", + "step" + ], + "result":"step" + } + ] + } +} diff --git a/examples/exported-jani-models/tandem.jani b/examples/exported-jani-models/tandem.jani new file mode 100644 index 000000000..ff7a39dda --- /dev/null +++ b/examples/exported-jani-models/tandem.jani @@ -0,0 +1,437 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"tau__" + }, + { + "name":"route" + } + ], + "constants":[ + { + "name":"c", + "type":"int" + } + ], + "variables":[ + { + "name":"sc", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"c" + } + }, + { + "name":"ph", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":2 + } + }, + { + "name":"sm", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"c" + } + } + ], + "observables":[ + { + "name":"\"customers\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"sc", + "right":0 + }, + "right":{ + "op":"=", + "left":"ph", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"sm", + "right":0 + } + } + }, + "automata":[ + { + "name":"serverC", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"customers\"", + "value":{ + "op":"+", + "left":"sc", + "right":"sm" + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":4, + "right":"c" + } + }, + "guard":{ + "exp":{ + "op":"<", + "left":"sc", + "right":"c" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":4, + "right":"c" + }, + "right":{ + "op":"*", + "left":4, + "right":"c" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"sc", + "value":{ + "op":"+", + "left":"sc", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"route", + "rate":{ + "exp":{ + "op":"*", + "left":0.9000000, + "right":2 + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"sc", + "right":0 + }, + "right":{ + "op":"=", + "left":"ph", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":0.9000000, + "right":2 + }, + "right":{ + "op":"*", + "left":0.9000000, + "right":2 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"sc", + "value":{ + "op":"-", + "left":"sc", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":{ + "op":"*", + "left":0.1000000, + "right":2 + } + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"sc", + "right":0 + }, + "right":{ + "op":"=", + "left":"ph", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":0.1000000, + "right":2 + }, + "right":{ + "op":"*", + "left":0.1000000, + "right":2 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"ph", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"route", + "rate":{ + "exp":2 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"sc", + "right":0 + }, + "right":{ + "op":"=", + "left":"ph", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":2, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"ph", + "value":1 + }, + { + "ref":"sc", + "value":{ + "op":"-", + "left":"sc", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"serverM", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"route", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"<", + "left":"sm", + "right":"c" + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"sm", + "value":{ + "op":"+", + "left":"sm", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":4 + }, + "guard":{ + "exp":{ + "op":">", + "left":"sm", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":4, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"sm", + "value":{ + "op":"-", + "left":"sm", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"serverC" + }, + { + "automaton":"serverM" + } + ], + "syncs":[ + { + "synchronise":[ + "route", + "route" + ], + "result":"route" + }, + { + "synchronise":[ + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/test-and-set.jani b/examples/exported-jani-models/test-and-set.jani new file mode 100644 index 000000000..4f411d9b7 --- /dev/null +++ b/examples/exported-jani-models/test-and-set.jani @@ -0,0 +1,1911 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + }, + { + "name":"p0" + }, + { + "name":"p1" + } + ], + "variables":[ + { + "name":"t", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"l0", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":10 + } + }, + { + "name":"R0", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"l1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":10 + } + }, + { + "name":"R1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + } + ], + "observables":[ + { + "name":"\"process0\"" + }, + { + "name":"\"process1\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"t", + "right":0 + }, + "right":{ + "op":"=", + "left":"l0", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"R0", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"l1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"R1", + "right":0 + } + } + }, + "automata":[ + { + "name":"tester", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"t", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":1 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"proc0", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"=", + "left":"l0", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"R0", + "value":3 + }, + { + "ref":"l0", + "value":1 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l0", + "right":1 + }, + "right":{ + "op":"=", + "left":"R1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l0", + "value":2 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l0", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"R1", + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l0", + "value":8 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"=", + "left":"l0", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"R0", + "value":1 + }, + { + "ref":"l0", + "value":3 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l0", + "right":3 + }, + "right":{ + "op":"=", + "left":"R1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l0", + "value":4 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l0", + "right":3 + }, + "right":{ + "op":"=", + "left":"R1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"l0", + "value":4 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"l0", + "value":5 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l0", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"R1", + "right":2 + }, + "right":{ + "op":"=", + "left":"R1", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l0", + "value":5 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"=", + "left":"l0", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"R0", + "value":3 + }, + { + "ref":"l0", + "value":1 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"=", + "left":"l0", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"R0", + "value":2 + }, + { + "ref":"l0", + "value":6 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l0", + "right":6 + }, + "right":{ + "op":"=", + "left":"R1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l0", + "value":7 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l0", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"R1", + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l0", + "value":9 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"=", + "left":"l0", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"R0", + "value":1 + }, + { + "ref":"l0", + "value":3 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"t", + "right":0 + }, + "right":{ + "op":"=", + "left":"l0", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"R0", + "value":0 + }, + { + "ref":"l0", + "value":0 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"t", + "right":0 + }, + "right":{ + "op":"=", + "left":"l0", + "right":9 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"R1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l0", + "value":9 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"t", + "right":0 + }, + "right":{ + "op":"=", + "left":"l0", + "right":9 + } + }, + "right":{ + "op":"=", + "left":"R1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l0", + "value":10 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p0", + "guard":{ + "exp":{ + "op":"=", + "left":"l0", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"R0", + "value":3 + }, + { + "ref":"l0", + "value":1 + } + ], + "observables":[ + { + "ref":"\"process0\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + } + ] + }, + { + "name":"proc1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"=", + "left":"l1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"R1", + "value":3 + }, + { + "ref":"l1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l1", + "right":1 + }, + "right":{ + "op":"=", + "left":"R0", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l1", + "right":1 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"R0", + "right":3 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l1", + "value":8 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"=", + "left":"l1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"R1", + "value":1 + }, + { + "ref":"l1", + "value":3 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l1", + "right":3 + }, + "right":{ + "op":"=", + "left":"R0", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l1", + "value":4 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l1", + "right":3 + }, + "right":{ + "op":"=", + "left":"R0", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"l1", + "value":4 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"l1", + "value":5 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l1", + "right":3 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"∨", + "left":{ + "op":"=", + "left":"R0", + "right":2 + }, + "right":{ + "op":"=", + "left":"R0", + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l1", + "value":5 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"=", + "left":"l1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"R1", + "value":3 + }, + { + "ref":"l1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"=", + "left":"l1", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"R1", + "value":2 + }, + { + "ref":"l1", + "value":6 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l1", + "right":6 + }, + "right":{ + "op":"=", + "left":"R0", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l1", + "value":7 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l1", + "right":6 + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"R0", + "right":2 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l1", + "value":9 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"=", + "left":"l1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"R1", + "value":1 + }, + { + "ref":"l1", + "value":3 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"t", + "right":0 + }, + "right":{ + "op":"=", + "left":"l1", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"R1", + "value":0 + }, + { + "ref":"l1", + "value":0 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"t", + "right":0 + }, + "right":{ + "op":"=", + "left":"l1", + "right":9 + } + }, + "right":{ + "op":"¬", + "exp":{ + "op":"=", + "left":"R0", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l1", + "value":9 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"t", + "right":0 + }, + "right":{ + "op":"=", + "left":"l1", + "right":9 + } + }, + "right":{ + "op":"=", + "left":"R0", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l1", + "value":10 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"p1", + "guard":{ + "exp":{ + "op":"=", + "left":"l1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"R1", + "value":3 + }, + { + "ref":"l1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"process1\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":"t", + "right":1 + }, + 1, + 0 + ] + } + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"tester" + }, + { + "automaton":"proc0" + }, + { + "automaton":"proc1" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "p0", + null + ], + "result":"p0" + }, + { + "synchronise":[ + null, + null, + "p1" + ], + "result":"p1" + } + ] + } +} diff --git a/examples/exported-jani-models/thinkteam_retrial.jani b/examples/exported-jani-models/thinkteam_retrial.jani new file mode 100644 index 000000000..21728c747 --- /dev/null +++ b/examples/exported-jani-models/thinkteam_retrial.jani @@ -0,0 +1,850 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"cO_s" + }, + { + "name":"cO_f" + }, + { + "name":"cI" + } + ], + "variables":[ + { + "name":"User_STATE", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"User_2_STATE", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"User_3_STATE", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"CheckOut_STATE", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"User_STATE", + "right":0 + }, + "right":{ + "op":"=", + "left":"User_2_STATE", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"User_3_STATE", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"CheckOut_STATE", + "right":0 + } + } + }, + "automata":[ + { + "name":"User", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"cO_s", + "rate":{ + "exp":1.0000000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"User_STATE", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1.0000000, + "right":1.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"User_STATE", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cO_f", + "rate":{ + "exp":1.0000000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"User_STATE", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1.0000000, + "right":1.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"User_STATE", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cI", + "rate":{ + "exp":5.0000000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"User_STATE", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":5.0000000, + "right":5.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"User_STATE", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cO_s", + "rate":{ + "exp":5.0000000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"User_STATE", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":5.0000000, + "right":5.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"User_STATE", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cO_f", + "rate":{ + "exp":5.0000000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"User_STATE", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":5.0000000, + "right":5.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"User_STATE", + "value":2 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"User_2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"cO_s", + "rate":{ + "exp":1.0000000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"User_2_STATE", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1.0000000, + "right":1.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"User_2_STATE", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cO_f", + "rate":{ + "exp":1.0000000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"User_2_STATE", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1.0000000, + "right":1.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"User_2_STATE", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cI", + "rate":{ + "exp":5.0000000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"User_2_STATE", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":5.0000000, + "right":5.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"User_2_STATE", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cO_s", + "rate":{ + "exp":5.0000000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"User_2_STATE", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":5.0000000, + "right":5.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"User_2_STATE", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cO_f", + "rate":{ + "exp":5.0000000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"User_2_STATE", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":5.0000000, + "right":5.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"User_2_STATE", + "value":2 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"User_3", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"cO_s", + "rate":{ + "exp":1.0000000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"User_3_STATE", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1.0000000, + "right":1.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"User_3_STATE", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cO_f", + "rate":{ + "exp":1.0000000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"User_3_STATE", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1.0000000, + "right":1.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"User_3_STATE", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cI", + "rate":{ + "exp":5.0000000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"User_3_STATE", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":5.0000000, + "right":5.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"User_3_STATE", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cO_s", + "rate":{ + "exp":5.0000000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"User_3_STATE", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":5.0000000, + "right":5.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"User_3_STATE", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"cO_f", + "rate":{ + "exp":5.0000000 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"User_3_STATE", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":5.0000000, + "right":5.0000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"User_3_STATE", + "value":2 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"CheckOut", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"cO_s", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"CheckOut_STATE", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"CheckOut_STATE", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"cI", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"CheckOut_STATE", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"CheckOut_STATE", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"cO_f", + "rate":{ + "exp":1 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"CheckOut_STATE", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":1 + } + }, + "location":"location", + "assignments":[ + { + "ref":"CheckOut_STATE", + "value":1 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"User" + }, + { + "automaton":"User_2" + }, + { + "automaton":"User_3" + }, + { + "automaton":"CheckOut" + } + ], + "syncs":[ + { + "synchronise":[ + "cO_s", + null, + null, + "cO_s" + ], + "result":"cO_s" + }, + { + "synchronise":[ + "cO_f", + null, + null, + "cO_f" + ], + "result":"cO_f" + }, + { + "synchronise":[ + "cI", + null, + null, + "cI" + ], + "result":"cI" + }, + { + "synchronise":[ + null, + "cO_s", + null, + "cO_s" + ], + "result":"cO_s" + }, + { + "synchronise":[ + null, + "cO_f", + null, + "cO_f" + ], + "result":"cO_f" + }, + { + "synchronise":[ + null, + "cI", + null, + "cI" + ], + "result":"cI" + }, + { + "synchronise":[ + null, + null, + "cO_s", + "cO_s" + ], + "result":"cO_s" + }, + { + "synchronise":[ + null, + null, + "cO_f", + "cO_f" + ], + "result":"cO_f" + }, + { + "synchronise":[ + null, + null, + "cI", + "cI" + ], + "result":"cI" + } + ] + } +} diff --git a/examples/exported-jani-models/two_dice.jani b/examples/exported-jani-models/two_dice.jani new file mode 100644 index 000000000..59d44542f --- /dev/null +++ b/examples/exported-jani-models/two_dice.jani @@ -0,0 +1,862 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"tau__" + } + ], + "variables":[ + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"d1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"d2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + } + ], + "observables":[ + { + "name":"\"coin_flips\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":0 + }, + "right":{ + "op":"=", + "left":"d1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"d2", + "right":0 + } + } + }, + "automata":[ + { + "name":"die1", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"coin_flips\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"¬", + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"=", + "left":"s2", + "right":7 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + }, + { + "ref":"d1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + }, + { + "ref":"d1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + }, + { + "ref":"d1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + }, + { + "ref":"d1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + }, + { + "ref":"d1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + }, + { + "ref":"d1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"=", + "left":"s2", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"die2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + }, + { + "ref":"d2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + }, + { + "ref":"d2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + }, + { + "ref":"d2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + }, + { + "ref":"d2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + }, + { + "ref":"d2", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + }, + { + "ref":"d2", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"=", + "left":"s1", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"die1" + }, + { + "automaton":"die2" + } + ], + "syncs":[ + { + "synchronise":[ + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/uav-mdp.jani b/examples/exported-jani-models/uav-mdp.jani new file mode 100644 index 000000000..cc232ad0e --- /dev/null +++ b/examples/exported-jani-models/uav-mdp.jani @@ -0,0 +1,16650 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"image" + }, + { + "name":"process" + }, + { + "name":"wait" + }, + { + "name":"go" + }, + { + "name":"tau__" + }, + { + "name":"operator_stop" + }, + { + "name":"camera" + }, + { + "name":"fly" + } + ], + "constants":[ + { + "name":"accu_load1", + "type":"real" + }, + { + "name":"accu_load2", + "type":"real" + }, + { + "name":"fd", + "type":"real" + }, + { + "name":"COUNTER", + "type":"int" + }, + { + "name":"risky2", + "type":"real" + }, + { + "name":"risky6", + "type":"real" + } + ], + "variables":[ + { + "name":"stop", + "type":"bool" + }, + { + "name":"k", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":100 + } + }, + { + "name":"t", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"w", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"a", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"r", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":9 + } + }, + { + "name":"send", + "type":"bool" + }, + { + "name":"in", + "type":"bool" + }, + { + "name":"w1", + "type":"bool" + }, + { + "name":"w2", + "type":"bool" + }, + { + "name":"w3", + "type":"bool" + }, + { + "name":"w4", + "type":"bool" + }, + { + "name":"w5", + "type":"bool" + }, + { + "name":"w6", + "type":"bool" + } + ], + "observables":[ + { + "name":"\"time\"" + }, + { + "name":"\"ROZ\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"stop", + "right":false + }, + "right":{ + "op":"=", + "left":"k", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"w", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"send", + "right":true + } + }, + "right":{ + "op":"=", + "left":"in", + "right":true + } + }, + "right":{ + "op":"=", + "left":"w1", + "right":true + } + }, + "right":{ + "op":"=", + "left":"w2", + "right":false + } + }, + "right":{ + "op":"=", + "left":"w3", + "right":false + } + }, + "right":{ + "op":"=", + "left":"w4", + "right":false + } + }, + "right":{ + "op":"=", + "left":"w5", + "right":false + } + }, + "right":{ + "op":"=", + "left":"w6", + "right":false + } + } + }, + "automata":[ + { + "name":"operator", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"image", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"stop" + }, + "right":{ + "op":"=", + "left":"t", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":1 + }, + { + "ref":"s", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":2 + }, + { + "ref":"s", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"process", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"stop" + }, + "right":{ + "op":"=", + "left":"t", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"s", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"k", + "right":"COUNTER" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":"accu_load1" + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"k", + "value":{ + "op":"+", + "left":"k", + "right":1 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"accu_load1" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + }, + { + "ref":"k", + "value":{ + "op":"+", + "left":"k", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"process", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"stop" + }, + "right":{ + "op":"=", + "left":"t", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"s", + "right":0 + } + }, + "right":{ + "op":">", + "left":"k", + "right":"COUNTER" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"*", + "left":"accu_load1", + "right":"fd" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"*", + "left":"accu_load1", + "right":"fd" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"process", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"stop" + }, + "right":{ + "op":"=", + "left":"t", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"s", + "right":0 + } + }, + "right":{ + "op":"≤", + "left":"k", + "right":"COUNTER" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":"accu_load2" + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + }, + { + "ref":"k", + "value":{ + "op":"+", + "left":"k", + "right":1 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"accu_load2" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + }, + { + "ref":"k", + "value":{ + "op":"+", + "left":"k", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"process", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"stop" + }, + "right":{ + "op":"=", + "left":"t", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"s", + "right":0 + } + }, + "right":{ + "op":">", + "left":"k", + "right":"COUNTER" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"*", + "left":"accu_load2", + "right":"fd" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":{ + "op":"*", + "left":"accu_load2", + "right":"fd" + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"s", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"wait", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"stop" + }, + "right":{ + "op":"=", + "left":"s", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":0 + }, + { + "ref":"s", + "value":0 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":10 + } + ] + } + ] + }, + { + "location":"location", + "action":"go", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"stop" + }, + "right":{ + "op":"=", + "left":"s", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"w", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":"risky2" + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":2 + }, + { + "ref":"t", + "value":0 + }, + { + "ref":"s", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":1, + "right":"risky2" + }, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":3 + }, + { + "ref":"t", + "value":0 + }, + { + "ref":"s", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":1, + "right":"risky2" + }, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"t", + "value":0 + }, + { + "ref":"s", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":1, + "right":"risky2" + }, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":0 + }, + { + "ref":"t", + "value":0 + }, + { + "ref":"s", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"go", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"stop" + }, + "right":{ + "op":"=", + "left":"s", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"w", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":2 + }, + { + "ref":"t", + "value":0 + }, + { + "ref":"s", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"t", + "value":0 + }, + { + "ref":"s", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":3 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":0 + }, + { + "ref":"t", + "value":0 + }, + { + "ref":"s", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"go", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"stop" + }, + "right":{ + "op":"=", + "left":"s", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"w", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":"risky6" + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":2 + }, + { + "ref":"t", + "value":0 + }, + { + "ref":"s", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":1, + "right":"risky6" + }, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":1 + }, + { + "ref":"t", + "value":0 + }, + { + "ref":"s", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"-", + "left":1, + "right":"risky6" + }, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"c", + "value":0 + }, + { + "ref":"t", + "value":0 + }, + { + "ref":"s", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"go", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"stop" + }, + "right":{ + "op":"=", + "left":"s", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"w", + "right":2 + }, + "right":{ + "op":"≠", + "left":"w", + "right":5 + } + }, + "right":{ + "op":"≠", + "left":"w", + "right":6 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":0 + }, + { + "ref":"s", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"¬", + "exp":"stop" + }, + "right":"w1" + }, + "right":"w2" + }, + "right":"w6" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"stop", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"operator_stop", + "guard":{ + "exp":"stop" + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"UAV", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"image", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"w", + "right":0 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":"send" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"send", + "value":false + } + ] + } + ] + }, + { + "location":"location", + "action":"wait", + "guard":{ + "exp":{ + "op":"¬", + "exp":"send" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"send", + "value":true + } + ] + } + ] + }, + { + "location":"location", + "action":"camera", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":1 + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":"in" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":0 + }, + { + "ref":"send", + "value":true + }, + { + "ref":"w1", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"camera", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":2 + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":"in" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":0 + }, + { + "ref":"send", + "value":true + }, + { + "ref":"w2", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"camera", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":"in" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":0 + }, + { + "ref":"send", + "value":true + }, + { + "ref":"w3", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"camera", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":4 + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":"in" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":0 + }, + { + "ref":"send", + "value":true + }, + { + "ref":"w4", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"camera", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":"in" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":0 + }, + { + "ref":"send", + "value":true + }, + { + "ref":"w5", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"camera", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":6 + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":"in" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":0 + }, + { + "ref":"send", + "value":true + }, + { + "ref":"w6", + "value":true + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"go", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"≠", + "left":"w", + "right":0 + }, + "right":{ + "op":"=", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":1 + }, + { + "ref":"in", + "value":false + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":2 + }, + { + "ref":"in", + "value":false + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":3 + }, + { + "ref":"in", + "value":false + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":4 + }, + { + "ref":"in", + "value":false + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":5 + }, + { + "ref":"in", + "value":false + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":6 + }, + { + "ref":"in", + "value":false + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":7 + }, + { + "ref":"in", + "value":false + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"a", + "value":8 + }, + { + "ref":"in", + "value":false + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":0 + }, + "right":{ + "op":"=", + "left":"w", + "right":2 + } + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":5 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"w", + "right":2 + } + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":6 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":2 + }, + "right":{ + "op":"=", + "left":"w", + "right":2 + } + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":7 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":3 + }, + "right":{ + "op":"=", + "left":"w", + "right":2 + } + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":9 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":0 + }, + "right":{ + "op":"=", + "left":"w", + "right":5 + } + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":3 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"w", + "right":5 + } + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":4 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":2 + }, + "right":{ + "op":"=", + "left":"w", + "right":5 + } + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":0 + }, + "right":{ + "op":"=", + "left":"w", + "right":6 + } + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":1 + }, + "right":{ + "op":"=", + "left":"w", + "right":6 + } + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":3 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c", + "right":2 + }, + "right":{ + "op":"=", + "left":"w", + "right":6 + } + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":8 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":1 + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":1 + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":9 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":6 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":4 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":4 + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":4 + }, + "right":{ + "op":"≠", + "left":"a", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"r", + "right":0 + } + }, + "right":{ + "op":"¬", + "exp":"in" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":2 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":1 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":5 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":5 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":4 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":3 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":8 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":6 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"r", + "value":7 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":1 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"fly", + "guard":{ + "exp":{ + "op":"=", + "left":"r", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":1 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":2 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":3 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":4 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":5 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":6 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":7 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w", + "value":2 + }, + { + "ref":"a", + "value":8 + }, + { + "ref":"r", + "value":0 + }, + { + "ref":"in", + "value":true + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":60 + }, + { + "ref":"\"ROZ\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"r", + "right":8 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":1 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":3 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w", + "right":5 + }, + "right":{ + "op":"=", + "left":"a", + "right":2 + } + } + }, + 1, + 0 + ] + } + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"operator" + }, + { + "automaton":"UAV" + } + ], + "syncs":[ + { + "synchronise":[ + "image", + "image" + ], + "result":"image" + }, + { + "synchronise":[ + "wait", + "wait" + ], + "result":"wait" + }, + { + "synchronise":[ + "go", + "go" + ], + "result":"go" + }, + { + "synchronise":[ + "process", + null + ], + "result":"process" + }, + { + "synchronise":[ + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + "operator_stop", + null + ], + "result":"operator_stop" + }, + { + "synchronise":[ + null, + "camera" + ], + "result":"camera" + }, + { + "synchronise":[ + null, + "fly" + ], + "result":"fly" + } + ] + } +} diff --git a/examples/exported-jani-models/virus3.jani b/examples/exported-jani-models/virus3.jani new file mode 100644 index 000000000..af1110a89 --- /dev/null +++ b/examples/exported-jani-models/virus3.jani @@ -0,0 +1,2878 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"attack11_21" + }, + { + "name":"attack11_12" + }, + { + "name":"tau__" + }, + { + "name":"attack21_11" + }, + { + "name":"attack12_11" + }, + { + "name":"attack21_31" + }, + { + "name":"attack21_22" + }, + { + "name":"attack31_21" + }, + { + "name":"attack22_21" + }, + { + "name":"attack22_32" + }, + { + "name":"attack22_23" + }, + { + "name":"attack22_12" + }, + { + "name":"attack32_22" + }, + { + "name":"attack23_22" + }, + { + "name":"attack12_22" + }, + { + "name":"attack33_32" + }, + { + "name":"attack33_23" + }, + { + "name":"attack32_33" + }, + { + "name":"attack23_33" + }, + { + "name":"attack31_32" + }, + { + "name":"attack32_31" + }, + { + "name":"attack12_13" + }, + { + "name":"attack13_12" + }, + { + "name":"attack13_23" + }, + { + "name":"attack23_13" + } + ], + "constants":[ + { + "name":"detect2", + "type":"real" + } + ], + "variables":[ + { + "name":"s11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s22", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s33", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s31", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s32", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"s23", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"\"attacks\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s11", + "right":0 + }, + "right":{ + "op":"=", + "left":"s21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s22", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s33", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"s31", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s32", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s23", + "right":0 + } + } + }, + "automata":[ + { + "name":"n11", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"attack11_21", + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack11_12", + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":1 + } + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s11", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"attack21_11", + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack12_11", + "guard":{ + "exp":{ + "op":"=", + "left":"s11", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"n21", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"attack21_31", + "guard":{ + "exp":{ + "op":"=", + "left":"s21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":"detect2" + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"detect2" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s21", + "value":1 + } + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack21_22", + "guard":{ + "exp":{ + "op":"=", + "left":"s21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":"detect2" + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"detect2" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s21", + "value":1 + } + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack21_11", + "guard":{ + "exp":{ + "op":"=", + "left":"s21", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":"detect2" + }, + "location":"location", + "assignments":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"detect2" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s21", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s21", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s21", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s21", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"attack31_21", + "guard":{ + "exp":{ + "op":"=", + "left":"s21", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack22_21", + "guard":{ + "exp":{ + "op":"=", + "left":"s21", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack11_21", + "guard":{ + "exp":{ + "op":"=", + "left":"s21", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"n22", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"attack22_32", + "guard":{ + "exp":{ + "op":"=", + "left":"s22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":"detect2" + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"detect2" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s22", + "value":1 + } + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack22_23", + "guard":{ + "exp":{ + "op":"=", + "left":"s22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":"detect2" + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"detect2" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s22", + "value":1 + } + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack22_12", + "guard":{ + "exp":{ + "op":"=", + "left":"s22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":"detect2" + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"detect2" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s22", + "value":1 + } + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack22_21", + "guard":{ + "exp":{ + "op":"=", + "left":"s22", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":"detect2" + }, + "location":"location", + "assignments":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"detect2" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s22", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s22", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s22", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s22", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"attack32_22", + "guard":{ + "exp":{ + "op":"=", + "left":"s22", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack23_22", + "guard":{ + "exp":{ + "op":"=", + "left":"s22", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack12_22", + "guard":{ + "exp":{ + "op":"=", + "left":"s22", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack21_22", + "guard":{ + "exp":{ + "op":"=", + "left":"s22", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"n33", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"attack33_32", + "guard":{ + "exp":{ + "op":"=", + "left":"s33", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s33", + "value":1 + } + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack33_23", + "guard":{ + "exp":{ + "op":"=", + "left":"s33", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s33", + "value":1 + } + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s33", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s33", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s33", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"attack32_33", + "guard":{ + "exp":{ + "op":"=", + "left":"s33", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack23_33", + "guard":{ + "exp":{ + "op":"=", + "left":"s33", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"n31", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"attack31_21", + "guard":{ + "exp":{ + "op":"=", + "left":"s31", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s31", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack31_32", + "guard":{ + "exp":{ + "op":"=", + "left":"s31", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s31", + "value":1 + } + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s31", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s31", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s31", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"attack21_31", + "guard":{ + "exp":{ + "op":"=", + "left":"s31", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"attack32_31", + "guard":{ + "exp":{ + "op":"=", + "left":"s31", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + } + ] + }, + { + "name":"n12", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"attack12_13", + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack12_22", + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack12_11", + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s12", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"attack13_12", + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack22_12", + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"attack11_12", + "guard":{ + "exp":{ + "op":"=", + "left":"s12", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"n32", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"attack32_33", + "guard":{ + "exp":{ + "op":"=", + "left":"s32", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s32", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack32_22", + "guard":{ + "exp":{ + "op":"=", + "left":"s32", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s32", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack32_31", + "guard":{ + "exp":{ + "op":"=", + "left":"s32", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s32", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s32", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s32", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s32", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"attack33_32", + "guard":{ + "exp":{ + "op":"=", + "left":"s32", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"attack22_32", + "guard":{ + "exp":{ + "op":"=", + "left":"s32", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"attack31_32", + "guard":{ + "exp":{ + "op":"=", + "left":"s32", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"n13", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"attack13_23", + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack13_12", + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s13", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"attack23_13", + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + { + "ref":"\"attacks\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack12_13", + "guard":{ + "exp":{ + "op":"=", + "left":"s13", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + }, + { + "name":"n23", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"attack23_33", + "guard":{ + "exp":{ + "op":"=", + "left":"s23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":"detect2" + }, + "location":"location", + "assignments":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"detect2" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s23", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack23_22", + "guard":{ + "exp":{ + "op":"=", + "left":"s23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":"detect2" + }, + "location":"location", + "assignments":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"detect2" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s23", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"attack23_13", + "guard":{ + "exp":{ + "op":"=", + "left":"s23", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":"detect2" + }, + "location":"location", + "assignments":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":"detect2" + } + }, + "location":"location", + "assignments":[ + { + "ref":"s23", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s23", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":0.5000000 + }, + "location":"location", + "assignments":[ + { + "ref":"s23", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.5000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s23", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"attack33_23", + "guard":{ + "exp":{ + "op":"=", + "left":"s23", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"attack22_23", + "guard":{ + "exp":{ + "op":"=", + "left":"s23", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"attack13_23", + "guard":{ + "exp":{ + "op":"=", + "left":"s23", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"n11" + }, + { + "automaton":"n21" + }, + { + "automaton":"n22" + }, + { + "automaton":"n33" + }, + { + "automaton":"n31" + }, + { + "automaton":"n12" + }, + { + "automaton":"n32" + }, + { + "automaton":"n13" + }, + { + "automaton":"n23" + } + ], + "syncs":[ + { + "synchronise":[ + null, + null, + "attack22_23", + null, + null, + null, + null, + null, + "attack22_23" + ], + "result":"attack22_23" + }, + { + "synchronise":[ + null, + null, + "attack23_22", + null, + null, + null, + null, + null, + "attack23_22" + ], + "result":"attack23_22" + }, + { + "synchronise":[ + null, + null, + null, + "attack33_23", + null, + null, + null, + null, + "attack33_23" + ], + "result":"attack33_23" + }, + { + "synchronise":[ + null, + null, + null, + "attack23_33", + null, + null, + null, + null, + "attack23_33" + ], + "result":"attack23_33" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "attack13_23", + "attack13_23" + ], + "result":"attack13_23" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "attack23_13", + "attack23_13" + ], + "result":"attack23_13" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "attack12_13", + null, + "attack12_13", + null + ], + "result":"attack12_13" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "attack13_12", + null, + "attack13_12", + null + ], + "result":"attack13_12" + }, + { + "synchronise":[ + null, + null, + "attack22_32", + null, + null, + null, + "attack22_32", + null, + null + ], + "result":"attack22_32" + }, + { + "synchronise":[ + null, + null, + "attack32_22", + null, + null, + null, + "attack32_22", + null, + null + ], + "result":"attack32_22" + }, + { + "synchronise":[ + null, + null, + null, + "attack33_32", + null, + null, + "attack33_32", + null, + null + ], + "result":"attack33_32" + }, + { + "synchronise":[ + null, + null, + null, + "attack32_33", + null, + null, + "attack32_33", + null, + null + ], + "result":"attack32_33" + }, + { + "synchronise":[ + null, + null, + null, + null, + "attack31_32", + null, + "attack31_32", + null, + null + ], + "result":"attack31_32" + }, + { + "synchronise":[ + null, + null, + null, + null, + "attack32_31", + null, + "attack32_31", + null, + null + ], + "result":"attack32_31" + }, + { + "synchronise":[ + "attack11_12", + null, + null, + null, + null, + "attack11_12", + null, + null, + null + ], + "result":"attack11_12" + }, + { + "synchronise":[ + "attack12_11", + null, + null, + null, + null, + "attack12_11", + null, + null, + null + ], + "result":"attack12_11" + }, + { + "synchronise":[ + null, + null, + "attack22_12", + null, + null, + "attack22_12", + null, + null, + null + ], + "result":"attack22_12" + }, + { + "synchronise":[ + null, + null, + "attack12_22", + null, + null, + "attack12_22", + null, + null, + null + ], + "result":"attack12_22" + }, + { + "synchronise":[ + null, + "attack21_31", + null, + null, + "attack21_31", + null, + null, + null, + null + ], + "result":"attack21_31" + }, + { + "synchronise":[ + null, + "attack31_21", + null, + null, + "attack31_21", + null, + null, + null, + null + ], + "result":"attack31_21" + }, + { + "synchronise":[ + null, + "attack21_22", + "attack21_22", + null, + null, + null, + null, + null, + null + ], + "result":"attack21_22" + }, + { + "synchronise":[ + null, + "attack22_21", + "attack22_21", + null, + null, + null, + null, + null, + null + ], + "result":"attack22_21" + }, + { + "synchronise":[ + "attack11_21", + "attack11_21", + null, + null, + null, + null, + null, + null, + null + ], + "result":"attack11_21" + }, + { + "synchronise":[ + "attack21_11", + "attack21_11", + null, + null, + null, + null, + null, + null, + null + ], + "result":"attack21_11" + }, + { + "synchronise":[ + "tau__", + null, + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null, + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null, + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__", + null, + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + "tau__", + null, + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + "tau__", + null, + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + null, + null, + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/walkers_ringLL.jani b/examples/exported-jani-models/walkers_ringLL.jani new file mode 100644 index 000000000..ca19a6d92 --- /dev/null +++ b/examples/exported-jani-models/walkers_ringLL.jani @@ -0,0 +1,14372 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"ctmc", + "actions":[ + { + "name":"block2" + }, + { + "name":"block3" + }, + { + "name":"block4" + }, + { + "name":"block5" + }, + { + "name":"block14" + }, + { + "name":"block15" + }, + { + "name":"step" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"failureRate", + "type":"real" + } + ], + "variables":[ + { + "name":"stator1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator8", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator9", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator10", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator11", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator12", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator13", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator16", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator17", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator18", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator19", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator20", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"stator21", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"w1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":21 + } + }, + { + "name":"blockade2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"blockade3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"blockade4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"blockade5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"blockade14", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"blockade15", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"steps\"" + }, + { + "name":"\"time\"" + }, + { + "name":"\"blocked\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"stator1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"stator3", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"stator4", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"stator5", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"stator6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"stator7", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"stator8", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"stator9", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"stator10", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"stator11", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"stator12", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"stator14", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"stator15", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"stator16", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"stator17", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"stator18", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"stator19", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"stator20", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"stator21", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"w1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"blockade2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"blockade3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"blockade4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"blockade5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"blockade14", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"blockade15", + "right":0 + } + } + }, + "automata":[ + { + "name":"walker", + "locations":[ + { + "name":"location", + "observables":[ + { + "ref":"\"time\"", + "value":1 + }, + { + "ref":"\"blocked\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"∨", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"w1", + "right":3 + } + }, + "right":{ + "op":"=", + "left":"w1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"w1", + "right":5 + } + }, + "right":{ + "op":"=", + "left":"w1", + "right":14 + } + }, + "right":{ + "op":"=", + "left":"w1", + "right":15 + } + }, + 1, + 0 + ] + } + } + ] + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"block2", + "rate":{ + "exp":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"blockade2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"blockade2", + "value":1 + }, + { + "ref":"stator2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + }, + "right":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"blockade2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"block3", + "rate":{ + "exp":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"blockade3", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"blockade3", + "value":1 + }, + { + "ref":"stator3", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + }, + "right":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"blockade3", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"block4", + "rate":{ + "exp":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"blockade4", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"blockade4", + "value":1 + }, + { + "ref":"stator4", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + }, + "right":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"blockade4", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"block5", + "rate":{ + "exp":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"blockade5", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"blockade5", + "value":1 + }, + { + "ref":"stator5", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + }, + "right":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"blockade5", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"block14", + "rate":{ + "exp":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"blockade14", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"blockade14", + "value":1 + }, + { + "ref":"stator14", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + }, + "right":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"blockade14", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"block15", + "rate":{ + "exp":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + }, + "guard":{ + "exp":{ + "op":"=", + "left":"blockade15", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"blockade15", + "value":1 + }, + { + "ref":"stator15", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + }, + "right":{ + "op":"+", + "left":{ + "op":"*", + "left":1000000.0000000, + "right":"failureRate" + }, + "right":{ + "op":"*", + "left":1000000.0000000, + "right":{ + "op":"-", + "left":1.0000000, + "right":"failureRate" + } + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"blockade15", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0030000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0030000, + "right":0.0030000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000600 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000600, + "right":0.0000600 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":3 + }, + { + "ref":"stator3", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000300 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000300, + "right":0.0000300 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":4 + }, + { + "ref":"stator4", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000600 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000600, + "right":0.0000600 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":5 + }, + { + "ref":"stator5", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000300 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000300, + "right":0.0000300 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":6 + }, + { + "ref":"stator6", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000060 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000060, + "right":0.0000060 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":7 + }, + { + "ref":"stator7", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000300 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000300, + "right":0.0000300 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":8 + }, + { + "ref":"stator8", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000300 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000300, + "right":0.0000300 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":9 + }, + { + "ref":"stator9", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000300 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000300, + "right":0.0000300 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":10 + }, + { + "ref":"stator10", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000300 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator11", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000300, + "right":0.0000300 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":11 + }, + { + "ref":"stator11", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000600 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator12", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000600, + "right":0.0000600 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":12 + }, + { + "ref":"stator12", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0030000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0030000, + "right":0.0030000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000300 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator14", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000300, + "right":0.0000300 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":14 + }, + { + "ref":"stator14", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000600 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator15", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000600, + "right":0.0000600 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":15 + }, + { + "ref":"stator15", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000300 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator16", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000300, + "right":0.0000300 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":16 + }, + { + "ref":"stator16", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000060 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator17", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000060, + "right":0.0000060 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":17 + }, + { + "ref":"stator17", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000300 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator18", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000300, + "right":0.0000300 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":18 + }, + { + "ref":"stator18", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000300 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator19", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000300, + "right":0.0000300 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":19 + }, + { + "ref":"stator19", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000300 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator20", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000300, + "right":0.0000300 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":20 + }, + { + "ref":"stator20", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000300 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":1 + }, + "right":{ + "op":"=", + "left":"stator21", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000300, + "right":0.0000300 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":21 + }, + { + "ref":"stator21", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":3 + }, + { + "ref":"stator3", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":4 + }, + { + "ref":"stator4", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":5 + }, + { + "ref":"stator5", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":6 + }, + { + "ref":"stator6", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000090 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000090, + "right":0.0000090 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":7 + }, + { + "ref":"stator7", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":8 + }, + { + "ref":"stator8", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":9 + }, + { + "ref":"stator9", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":10 + }, + { + "ref":"stator10", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator11", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":11 + }, + { + "ref":"stator11", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator12", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":12 + }, + { + "ref":"stator12", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator14", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":14 + }, + { + "ref":"stator14", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator15", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":15 + }, + { + "ref":"stator15", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator16", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":16 + }, + { + "ref":"stator16", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000090 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator17", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000090, + "right":0.0000090 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":17 + }, + { + "ref":"stator17", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator18", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":18 + }, + { + "ref":"stator18", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator19", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":19 + }, + { + "ref":"stator19", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator20", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":20 + }, + { + "ref":"stator20", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":2 + }, + "right":{ + "op":"=", + "left":"stator21", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":21 + }, + { + "ref":"stator21", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":3 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":3 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":3 + }, + "right":{ + "op":"=", + "left":"stator4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":4 + }, + { + "ref":"stator4", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":3 + }, + "right":{ + "op":"=", + "left":"stator5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":5 + }, + { + "ref":"stator5", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":3 + }, + "right":{ + "op":"=", + "left":"stator6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":6 + }, + { + "ref":"stator6", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000090 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":3 + }, + "right":{ + "op":"=", + "left":"stator7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000090, + "right":0.0000090 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":7 + }, + { + "ref":"stator7", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":3 + }, + "right":{ + "op":"=", + "left":"stator8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":8 + }, + { + "ref":"stator8", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":3 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000090 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":3 + }, + "right":{ + "op":"=", + "left":"stator17", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000090, + "right":0.0000090 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":17 + }, + { + "ref":"stator17", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":3 + }, + "right":{ + "op":"=", + "left":"stator18", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":18 + }, + { + "ref":"stator18", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":3 + }, + "right":{ + "op":"=", + "left":"stator19", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":19 + }, + { + "ref":"stator19", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":3 + }, + "right":{ + "op":"=", + "left":"stator20", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":20 + }, + { + "ref":"stator20", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":3 + }, + "right":{ + "op":"=", + "left":"stator21", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":21 + }, + { + "ref":"stator21", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":4 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":4 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":4 + }, + "right":{ + "op":"=", + "left":"stator3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":3 + }, + { + "ref":"stator3", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":4 + }, + "right":{ + "op":"=", + "left":"stator5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":5 + }, + { + "ref":"stator5", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":4 + }, + "right":{ + "op":"=", + "left":"stator6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":6 + }, + { + "ref":"stator6", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000090 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":4 + }, + "right":{ + "op":"=", + "left":"stator7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000090, + "right":0.0000090 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":7 + }, + { + "ref":"stator7", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":4 + }, + "right":{ + "op":"=", + "left":"stator8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":8 + }, + { + "ref":"stator8", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":4 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":4 + }, + "right":{ + "op":"=", + "left":"stator18", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":18 + }, + { + "ref":"stator18", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":4 + }, + "right":{ + "op":"=", + "left":"stator19", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":19 + }, + { + "ref":"stator19", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":4 + }, + "right":{ + "op":"=", + "left":"stator20", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":20 + }, + { + "ref":"stator20", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":4 + }, + "right":{ + "op":"=", + "left":"stator21", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":21 + }, + { + "ref":"stator21", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":5 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":5 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":5 + }, + "right":{ + "op":"=", + "left":"stator3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":3 + }, + { + "ref":"stator3", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":5 + }, + "right":{ + "op":"=", + "left":"stator4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":4 + }, + { + "ref":"stator4", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":5 + }, + "right":{ + "op":"=", + "left":"stator6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":6 + }, + { + "ref":"stator6", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000180 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":5 + }, + "right":{ + "op":"=", + "left":"stator7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000180, + "right":0.0000180 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":7 + }, + { + "ref":"stator7", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":5 + }, + "right":{ + "op":"=", + "left":"stator8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":8 + }, + { + "ref":"stator8", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":5 + }, + "right":{ + "op":"=", + "left":"stator9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":9 + }, + { + "ref":"stator9", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":5 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":5 + }, + "right":{ + "op":"=", + "left":"stator20", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":20 + }, + { + "ref":"stator20", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":5 + }, + "right":{ + "op":"=", + "left":"stator21", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":21 + }, + { + "ref":"stator21", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":6 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":6 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":6 + }, + "right":{ + "op":"=", + "left":"stator3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":3 + }, + { + "ref":"stator3", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":6 + }, + "right":{ + "op":"=", + "left":"stator4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":4 + }, + { + "ref":"stator4", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":6 + }, + "right":{ + "op":"=", + "left":"stator5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":5 + }, + { + "ref":"stator5", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0009000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":6 + }, + "right":{ + "op":"=", + "left":"stator7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0009000, + "right":0.0009000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":7 + }, + { + "ref":"stator7", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":6 + }, + "right":{ + "op":"=", + "left":"stator8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":8 + }, + { + "ref":"stator8", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":6 + }, + "right":{ + "op":"=", + "left":"stator9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":9 + }, + { + "ref":"stator9", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":6 + }, + "right":{ + "op":"=", + "left":"stator10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":10 + }, + { + "ref":"stator10", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":6 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":6 + }, + "right":{ + "op":"=", + "left":"stator21", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":21 + }, + { + "ref":"stator21", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":8 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":8 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":8 + }, + "right":{ + "op":"=", + "left":"stator3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":3 + }, + { + "ref":"stator3", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":8 + }, + "right":{ + "op":"=", + "left":"stator4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":4 + }, + { + "ref":"stator4", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":8 + }, + "right":{ + "op":"=", + "left":"stator5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":5 + }, + { + "ref":"stator5", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":8 + }, + "right":{ + "op":"=", + "left":"stator6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":6 + }, + { + "ref":"stator6", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0009000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":8 + }, + "right":{ + "op":"=", + "left":"stator7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0009000, + "right":0.0009000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":7 + }, + { + "ref":"stator7", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":8 + }, + "right":{ + "op":"=", + "left":"stator9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":9 + }, + { + "ref":"stator9", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":8 + }, + "right":{ + "op":"=", + "left":"stator10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":10 + }, + { + "ref":"stator10", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":8 + }, + "right":{ + "op":"=", + "left":"stator11", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":11 + }, + { + "ref":"stator11", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":8 + }, + "right":{ + "op":"=", + "left":"stator12", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":12 + }, + { + "ref":"stator12", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":8 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":8 + }, + "right":{ + "op":"=", + "left":"stator14", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":14 + }, + { + "ref":"stator14", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":9 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":9 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":9 + }, + "right":{ + "op":"=", + "left":"stator5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":5 + }, + { + "ref":"stator5", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":9 + }, + "right":{ + "op":"=", + "left":"stator6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":6 + }, + { + "ref":"stator6", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000180 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":9 + }, + "right":{ + "op":"=", + "left":"stator7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000180, + "right":0.0000180 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":7 + }, + { + "ref":"stator7", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":9 + }, + "right":{ + "op":"=", + "left":"stator8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":8 + }, + { + "ref":"stator8", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":9 + }, + "right":{ + "op":"=", + "left":"stator10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":10 + }, + { + "ref":"stator10", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":9 + }, + "right":{ + "op":"=", + "left":"stator11", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":11 + }, + { + "ref":"stator11", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":9 + }, + "right":{ + "op":"=", + "left":"stator12", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":12 + }, + { + "ref":"stator12", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":9 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":9 + }, + "right":{ + "op":"=", + "left":"stator14", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":14 + }, + { + "ref":"stator14", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":10 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":10 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":10 + }, + "right":{ + "op":"=", + "left":"stator6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":6 + }, + { + "ref":"stator6", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000090 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":10 + }, + "right":{ + "op":"=", + "left":"stator7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000090, + "right":0.0000090 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":7 + }, + { + "ref":"stator7", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":10 + }, + "right":{ + "op":"=", + "left":"stator8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":8 + }, + { + "ref":"stator8", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":10 + }, + "right":{ + "op":"=", + "left":"stator9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":9 + }, + { + "ref":"stator9", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":10 + }, + "right":{ + "op":"=", + "left":"stator11", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":11 + }, + { + "ref":"stator11", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":10 + }, + "right":{ + "op":"=", + "left":"stator12", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":12 + }, + { + "ref":"stator12", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":10 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":10 + }, + "right":{ + "op":"=", + "left":"stator14", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":14 + }, + { + "ref":"stator14", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":10 + }, + "right":{ + "op":"=", + "left":"stator15", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":15 + }, + { + "ref":"stator15", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":11 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":11 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000090 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":11 + }, + "right":{ + "op":"=", + "left":"stator7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000090, + "right":0.0000090 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":7 + }, + { + "ref":"stator7", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":11 + }, + "right":{ + "op":"=", + "left":"stator8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":8 + }, + { + "ref":"stator8", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":11 + }, + "right":{ + "op":"=", + "left":"stator9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":9 + }, + { + "ref":"stator9", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":11 + }, + "right":{ + "op":"=", + "left":"stator10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":10 + }, + { + "ref":"stator10", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":11 + }, + "right":{ + "op":"=", + "left":"stator12", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":12 + }, + { + "ref":"stator12", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":11 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":11 + }, + "right":{ + "op":"=", + "left":"stator14", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":14 + }, + { + "ref":"stator14", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":11 + }, + "right":{ + "op":"=", + "left":"stator15", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":15 + }, + { + "ref":"stator15", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":11 + }, + "right":{ + "op":"=", + "left":"stator16", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":16 + }, + { + "ref":"stator16", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":12 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":12 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000090 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":12 + }, + "right":{ + "op":"=", + "left":"stator7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000090, + "right":0.0000090 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":7 + }, + { + "ref":"stator7", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":12 + }, + "right":{ + "op":"=", + "left":"stator8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":8 + }, + { + "ref":"stator8", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":12 + }, + "right":{ + "op":"=", + "left":"stator9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":9 + }, + { + "ref":"stator9", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":12 + }, + "right":{ + "op":"=", + "left":"stator10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":10 + }, + { + "ref":"stator10", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":12 + }, + "right":{ + "op":"=", + "left":"stator11", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":11 + }, + { + "ref":"stator11", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":12 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":12 + }, + "right":{ + "op":"=", + "left":"stator14", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":14 + }, + { + "ref":"stator14", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":12 + }, + "right":{ + "op":"=", + "left":"stator15", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":15 + }, + { + "ref":"stator15", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":12 + }, + "right":{ + "op":"=", + "left":"stator16", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":16 + }, + { + "ref":"stator16", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000090 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":12 + }, + "right":{ + "op":"=", + "left":"stator17", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000090, + "right":0.0000090 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":17 + }, + { + "ref":"stator17", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":12 + }, + "right":{ + "op":"=", + "left":"stator18", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":18 + }, + { + "ref":"stator18", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":3 + }, + { + "ref":"stator3", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":4 + }, + { + "ref":"stator4", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":5 + }, + { + "ref":"stator5", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":6 + }, + { + "ref":"stator6", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000090 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator7", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000090, + "right":0.0000090 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":7 + }, + { + "ref":"stator7", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":8 + }, + { + "ref":"stator8", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":9 + }, + { + "ref":"stator9", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":10 + }, + { + "ref":"stator10", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator11", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":11 + }, + { + "ref":"stator11", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator12", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":12 + }, + { + "ref":"stator12", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator14", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":14 + }, + { + "ref":"stator14", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator15", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":15 + }, + { + "ref":"stator15", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator16", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":16 + }, + { + "ref":"stator16", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000090 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator17", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000090, + "right":0.0000090 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":17 + }, + { + "ref":"stator17", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator18", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":18 + }, + { + "ref":"stator18", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator19", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":19 + }, + { + "ref":"stator19", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator20", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":20 + }, + { + "ref":"stator20", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":13 + }, + "right":{ + "op":"=", + "left":"stator21", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":21 + }, + { + "ref":"stator21", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":14 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":14 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":14 + }, + "right":{ + "op":"=", + "left":"stator8", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":8 + }, + { + "ref":"stator8", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":14 + }, + "right":{ + "op":"=", + "left":"stator9", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":9 + }, + { + "ref":"stator9", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":14 + }, + "right":{ + "op":"=", + "left":"stator10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":10 + }, + { + "ref":"stator10", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":14 + }, + "right":{ + "op":"=", + "left":"stator11", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":11 + }, + { + "ref":"stator11", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":14 + }, + "right":{ + "op":"=", + "left":"stator12", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":12 + }, + { + "ref":"stator12", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":14 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":14 + }, + "right":{ + "op":"=", + "left":"stator15", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":15 + }, + { + "ref":"stator15", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":14 + }, + "right":{ + "op":"=", + "left":"stator16", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":16 + }, + { + "ref":"stator16", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000090 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":14 + }, + "right":{ + "op":"=", + "left":"stator17", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000090, + "right":0.0000090 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":17 + }, + { + "ref":"stator17", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":14 + }, + "right":{ + "op":"=", + "left":"stator18", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":18 + }, + { + "ref":"stator18", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":15 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":15 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":15 + }, + "right":{ + "op":"=", + "left":"stator10", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":10 + }, + { + "ref":"stator10", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":15 + }, + "right":{ + "op":"=", + "left":"stator11", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":11 + }, + { + "ref":"stator11", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":15 + }, + "right":{ + "op":"=", + "left":"stator12", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":12 + }, + { + "ref":"stator12", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":15 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":15 + }, + "right":{ + "op":"=", + "left":"stator14", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":14 + }, + { + "ref":"stator14", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":15 + }, + "right":{ + "op":"=", + "left":"stator16", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":16 + }, + { + "ref":"stator16", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000180 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":15 + }, + "right":{ + "op":"=", + "left":"stator17", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000180, + "right":0.0000180 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":17 + }, + { + "ref":"stator17", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":15 + }, + "right":{ + "op":"=", + "left":"stator18", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":18 + }, + { + "ref":"stator18", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":15 + }, + "right":{ + "op":"=", + "left":"stator19", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":19 + }, + { + "ref":"stator19", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":16 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":16 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":16 + }, + "right":{ + "op":"=", + "left":"stator11", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":11 + }, + { + "ref":"stator11", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":16 + }, + "right":{ + "op":"=", + "left":"stator12", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":12 + }, + { + "ref":"stator12", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":16 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":16 + }, + "right":{ + "op":"=", + "left":"stator14", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":14 + }, + { + "ref":"stator14", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":16 + }, + "right":{ + "op":"=", + "left":"stator15", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":15 + }, + { + "ref":"stator15", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0009000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":16 + }, + "right":{ + "op":"=", + "left":"stator17", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0009000, + "right":0.0009000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":17 + }, + { + "ref":"stator17", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":16 + }, + "right":{ + "op":"=", + "left":"stator18", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":18 + }, + { + "ref":"stator18", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":16 + }, + "right":{ + "op":"=", + "left":"stator19", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":19 + }, + { + "ref":"stator19", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":16 + }, + "right":{ + "op":"=", + "left":"stator20", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":20 + }, + { + "ref":"stator20", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":18 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":18 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":18 + }, + "right":{ + "op":"=", + "left":"stator3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":3 + }, + { + "ref":"stator3", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":18 + }, + "right":{ + "op":"=", + "left":"stator4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":4 + }, + { + "ref":"stator4", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":18 + }, + "right":{ + "op":"=", + "left":"stator12", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":12 + }, + { + "ref":"stator12", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":18 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":18 + }, + "right":{ + "op":"=", + "left":"stator14", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":14 + }, + { + "ref":"stator14", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":18 + }, + "right":{ + "op":"=", + "left":"stator15", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":15 + }, + { + "ref":"stator15", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":18 + }, + "right":{ + "op":"=", + "left":"stator16", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":16 + }, + { + "ref":"stator16", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0009000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":18 + }, + "right":{ + "op":"=", + "left":"stator17", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0009000, + "right":0.0009000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":17 + }, + { + "ref":"stator17", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":18 + }, + "right":{ + "op":"=", + "left":"stator19", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":19 + }, + { + "ref":"stator19", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":18 + }, + "right":{ + "op":"=", + "left":"stator20", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":20 + }, + { + "ref":"stator20", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":18 + }, + "right":{ + "op":"=", + "left":"stator21", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":21 + }, + { + "ref":"stator21", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":19 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":19 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":19 + }, + "right":{ + "op":"=", + "left":"stator3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":3 + }, + { + "ref":"stator3", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":19 + }, + "right":{ + "op":"=", + "left":"stator4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":4 + }, + { + "ref":"stator4", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":19 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":19 + }, + "right":{ + "op":"=", + "left":"stator15", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":15 + }, + { + "ref":"stator15", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":19 + }, + "right":{ + "op":"=", + "left":"stator16", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":16 + }, + { + "ref":"stator16", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000180 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":19 + }, + "right":{ + "op":"=", + "left":"stator17", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000180, + "right":0.0000180 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":17 + }, + { + "ref":"stator17", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":19 + }, + "right":{ + "op":"=", + "left":"stator18", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":18 + }, + { + "ref":"stator18", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":19 + }, + "right":{ + "op":"=", + "left":"stator20", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":20 + }, + { + "ref":"stator20", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":19 + }, + "right":{ + "op":"=", + "left":"stator21", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":21 + }, + { + "ref":"stator21", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":20 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":20 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":20 + }, + "right":{ + "op":"=", + "left":"stator3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":3 + }, + { + "ref":"stator3", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":20 + }, + "right":{ + "op":"=", + "left":"stator4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":4 + }, + { + "ref":"stator4", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":20 + }, + "right":{ + "op":"=", + "left":"stator5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":5 + }, + { + "ref":"stator5", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":20 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":20 + }, + "right":{ + "op":"=", + "left":"stator16", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":16 + }, + { + "ref":"stator16", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000090 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":20 + }, + "right":{ + "op":"=", + "left":"stator17", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000090, + "right":0.0000090 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":17 + }, + { + "ref":"stator17", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":20 + }, + "right":{ + "op":"=", + "left":"stator18", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":18 + }, + { + "ref":"stator18", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":20 + }, + "right":{ + "op":"=", + "left":"stator19", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":19 + }, + { + "ref":"stator19", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":20 + }, + "right":{ + "op":"=", + "left":"stator21", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":21 + }, + { + "ref":"stator21", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":21 + }, + "right":{ + "op":"=", + "left":"stator1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + }, + { + "ref":"stator1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":21 + }, + "right":{ + "op":"=", + "left":"stator2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + }, + { + "ref":"stator2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":21 + }, + "right":{ + "op":"=", + "left":"stator3", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":3 + }, + { + "ref":"stator3", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":21 + }, + "right":{ + "op":"=", + "left":"stator4", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":4 + }, + { + "ref":"stator4", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":21 + }, + "right":{ + "op":"=", + "left":"stator5", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":5 + }, + { + "ref":"stator5", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":21 + }, + "right":{ + "op":"=", + "left":"stator6", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":6 + }, + { + "ref":"stator6", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000900 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":21 + }, + "right":{ + "op":"=", + "left":"stator13", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000900, + "right":0.0000900 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + }, + { + "ref":"stator13", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0000090 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":21 + }, + "right":{ + "op":"=", + "left":"stator17", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0000090, + "right":0.0000090 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":17 + }, + { + "ref":"stator17", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":21 + }, + "right":{ + "op":"=", + "left":"stator18", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":18 + }, + { + "ref":"stator18", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0001800 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":21 + }, + "right":{ + "op":"=", + "left":"stator19", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0001800, + "right":0.0001800 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":19 + }, + { + "ref":"stator19", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"step", + "rate":{ + "exp":0.0090000 + }, + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"w1", + "right":21 + }, + "right":{ + "op":"=", + "left":"stator20", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0.0090000, + "right":0.0090000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":20 + }, + { + "ref":"stator20", + "value":1 + } + ], + "observables":[ + { + "ref":"\"steps\"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":2 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":3 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":4 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":5 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":5 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":6 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":7 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":8 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":8 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":9 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":9 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":10 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":10 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":11 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":11 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":12 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":13 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":13 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":14 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":14 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":15 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":16 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":16 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":17 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":17 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":18 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":18 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":19 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":19 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":20 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":20 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "rate":{ + "exp":0E-7 + }, + "guard":{ + "exp":{ + "op":"=", + "left":"w1", + "right":21 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":0E-7, + "right":0E-7 + } + }, + "location":"location", + "assignments":[ + { + "ref":"w1", + "value":21 + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"walker" + } + ], + "syncs":[ + { + "synchronise":[ + "block2" + ], + "result":"block2" + }, + { + "synchronise":[ + "block3" + ], + "result":"block3" + }, + { + "synchronise":[ + "block4" + ], + "result":"block4" + }, + { + "synchronise":[ + "block5" + ], + "result":"block5" + }, + { + "synchronise":[ + "block14" + ], + "result":"block14" + }, + { + "synchronise":[ + "block15" + ], + "result":"block15" + }, + { + "synchronise":[ + "step" + ], + "result":"step" + }, + { + "synchronise":[ + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan0.jani b/examples/exported-jani-models/wlan0.jani new file mode 100644 index 000000000..aa56a6377 --- /dev/null +++ b/examples/exported-jani-models/wlan0.jani @@ -0,0 +1,9318 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"TRANS_TIME_MAX", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"collisions\"" + }, + { + "name":"\"time\"" + }, + { + "name":"\"cost\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":0 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":0 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + null, + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan0_collide.jani b/examples/exported-jani-models/wlan0_collide.jani new file mode 100644 index 000000000..a02ebe4a4 --- /dev/null +++ b/examples/exported-jani-models/wlan0_collide.jani @@ -0,0 +1,4907 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"COL", + "type":"int" + }, + { + "name":"TRANS_TIME_MAX", + "type":"int" + } + ], + "variables":[ + { + "name":"col", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"COL" + } + }, + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"col", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + }, + { + "ref":"col", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"col", + "right":1 + }, + "right":"COL" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + }, + { + "ref":"col", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"col", + "right":1 + }, + "right":"COL" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":0 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":0 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + null, + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan0_time_bounded.jani b/examples/exported-jani-models/wlan0_time_bounded.jani new file mode 100644 index 000000000..f6cd89c60 --- /dev/null +++ b/examples/exported-jani-models/wlan0_time_bounded.jani @@ -0,0 +1,4975 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"TRANS_TIME_MAX", + "type":"int" + }, + { + "name":"DEADLINE", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"t", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"DEADLINE" + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":0 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"timer", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"<", + "left":"t", + "right":"DEADLINE" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t", + "right":1 + }, + "right":"DEADLINE" + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"≥", + "left":"t", + "right":"DEADLINE" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":"t" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":0 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"timer" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + null, + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send2", + null, + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + "send1", + "send1", + null, + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null, + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan1.jani b/examples/exported-jani-models/wlan1.jani new file mode 100644 index 000000000..bc4569e10 --- /dev/null +++ b/examples/exported-jani-models/wlan1.jani @@ -0,0 +1,9552 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"TRANS_TIME_MAX", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + { + "name":"\"collisions\"" + }, + { + "name":"\"time\"" + }, + { + "name":"\"cost\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + null, + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan1_collide.jani b/examples/exported-jani-models/wlan1_collide.jani new file mode 100644 index 000000000..73fc77e4c --- /dev/null +++ b/examples/exported-jani-models/wlan1_collide.jani @@ -0,0 +1,5141 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"COL", + "type":"int" + }, + { + "name":"TRANS_TIME_MAX", + "type":"int" + } + ], + "variables":[ + { + "name":"col", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"COL" + } + }, + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"col", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + }, + { + "ref":"col", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"col", + "right":1 + }, + "right":"COL" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + }, + { + "ref":"col", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"col", + "right":1 + }, + "right":"COL" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + null, + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan1_time_bounded.jani b/examples/exported-jani-models/wlan1_time_bounded.jani new file mode 100644 index 000000000..50d312845 --- /dev/null +++ b/examples/exported-jani-models/wlan1_time_bounded.jani @@ -0,0 +1,5209 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"TRANS_TIME_MAX", + "type":"int" + }, + { + "name":"DEADLINE", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"t", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"DEADLINE" + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"timer", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"<", + "left":"t", + "right":"DEADLINE" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t", + "right":1 + }, + "right":"DEADLINE" + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"≥", + "left":"t", + "right":"DEADLINE" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":"t" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"timer" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + null, + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send2", + null, + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + "send1", + "send1", + null, + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null, + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan2.jani b/examples/exported-jani-models/wlan2.jani new file mode 100644 index 000000000..7b7d12891 --- /dev/null +++ b/examples/exported-jani-models/wlan2.jani @@ -0,0 +1,9938 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"TRANS_TIME_MAX", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + { + "name":"\"collisions\"" + }, + { + "name":"\"time\"" + }, + { + "name":"\"cost\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + null, + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan2_collide.jani b/examples/exported-jani-models/wlan2_collide.jani new file mode 100644 index 000000000..ff7ce08c8 --- /dev/null +++ b/examples/exported-jani-models/wlan2_collide.jani @@ -0,0 +1,5527 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"COL", + "type":"int" + }, + { + "name":"TRANS_TIME_MAX", + "type":"int" + } + ], + "variables":[ + { + "name":"col", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"COL" + } + }, + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"col", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + }, + { + "ref":"col", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"col", + "right":1 + }, + "right":"COL" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + }, + { + "ref":"col", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"col", + "right":1 + }, + "right":"COL" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + null, + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan2_time_bounded.jani b/examples/exported-jani-models/wlan2_time_bounded.jani new file mode 100644 index 000000000..42ee5f7af --- /dev/null +++ b/examples/exported-jani-models/wlan2_time_bounded.jani @@ -0,0 +1,5595 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"TRANS_TIME_MAX", + "type":"int" + }, + { + "name":"DEADLINE", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"t", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"DEADLINE" + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"timer", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"<", + "left":"t", + "right":"DEADLINE" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t", + "right":1 + }, + "right":"DEADLINE" + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"≥", + "left":"t", + "right":"DEADLINE" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":"t" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":2 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"timer" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + null, + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send2", + null, + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + "send1", + "send1", + null, + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null, + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan3.jani b/examples/exported-jani-models/wlan3.jani new file mode 100644 index 000000000..bcbb303a1 --- /dev/null +++ b/examples/exported-jani-models/wlan3.jani @@ -0,0 +1,10628 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"TRANS_TIME_MAX", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + } + ], + "observables":[ + { + "name":"\"collisions\"" + }, + { + "name":"\"time\"" + }, + { + "name":"\"cost\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + null, + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan3_collide.jani b/examples/exported-jani-models/wlan3_collide.jani new file mode 100644 index 000000000..fd68c8ebf --- /dev/null +++ b/examples/exported-jani-models/wlan3_collide.jani @@ -0,0 +1,6217 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"COL", + "type":"int" + }, + { + "name":"TRANS_TIME_MAX", + "type":"int" + } + ], + "variables":[ + { + "name":"col", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"COL" + } + }, + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"col", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + }, + { + "ref":"col", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"col", + "right":1 + }, + "right":"COL" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + }, + { + "ref":"col", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"col", + "right":1 + }, + "right":"COL" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + null, + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan3_time_bounded.jani b/examples/exported-jani-models/wlan3_time_bounded.jani new file mode 100644 index 000000000..36a34d41b --- /dev/null +++ b/examples/exported-jani-models/wlan3_time_bounded.jani @@ -0,0 +1,6285 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"TRANS_TIME_MAX", + "type":"int" + }, + { + "name":"DEADLINE", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + }, + { + "name":"t", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"DEADLINE" + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":7 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":3 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"timer", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"<", + "left":"t", + "right":"DEADLINE" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t", + "right":1 + }, + "right":"DEADLINE" + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"≥", + "left":"t", + "right":"DEADLINE" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":"t" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":3 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"timer" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + null, + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send2", + null, + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + "send1", + "send1", + null, + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null, + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan4.jani b/examples/exported-jani-models/wlan4.jani new file mode 100644 index 000000000..54ee31db6 --- /dev/null +++ b/examples/exported-jani-models/wlan4.jani @@ -0,0 +1,11926 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"TRANS_TIME_MAX", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + } + ], + "observables":[ + { + "name":"\"collisions\"" + }, + { + "name":"\"time\"" + }, + { + "name":"\"cost\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + null, + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan4_collide.jani b/examples/exported-jani-models/wlan4_collide.jani new file mode 100644 index 000000000..6e1df2773 --- /dev/null +++ b/examples/exported-jani-models/wlan4_collide.jani @@ -0,0 +1,7515 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"COL", + "type":"int" + }, + { + "name":"TRANS_TIME_MAX", + "type":"int" + } + ], + "variables":[ + { + "name":"col", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"COL" + } + }, + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"col", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + }, + { + "ref":"col", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"col", + "right":1 + }, + "right":"COL" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + }, + { + "ref":"col", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"col", + "right":1 + }, + "right":"COL" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + null, + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan4_time_bounded.jani b/examples/exported-jani-models/wlan4_time_bounded.jani new file mode 100644 index 000000000..d39fcb7b1 --- /dev/null +++ b/examples/exported-jani-models/wlan4_time_bounded.jani @@ -0,0 +1,7583 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"TRANS_TIME_MAX", + "type":"int" + }, + { + "name":"DEADLINE", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"t", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"DEADLINE" + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"timer", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"<", + "left":"t", + "right":"DEADLINE" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t", + "right":1 + }, + "right":"DEADLINE" + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"≥", + "left":"t", + "right":"DEADLINE" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":"t" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":4 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"timer" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + null, + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send2", + null, + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + "send1", + "send1", + null, + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null, + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan5.jani b/examples/exported-jani-models/wlan5.jani new file mode 100644 index 000000000..6ba0b275d --- /dev/null +++ b/examples/exported-jani-models/wlan5.jani @@ -0,0 +1,14440 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"TRANS_TIME_MAX", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":31 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":31 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + } + ], + "observables":[ + { + "name":"\"collisions\"" + }, + { + "name":"\"time\"" + }, + { + "name":"\"cost\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":16 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":17 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":18 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":19 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":20 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":21 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":22 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":23 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":24 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":25 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":26 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":27 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":28 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":29 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":30 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":31 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":16 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":17 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":18 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":19 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":20 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":21 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":22 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":23 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":24 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":25 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":26 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":27 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":28 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":29 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":30 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":31 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + null, + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan5_collide.jani b/examples/exported-jani-models/wlan5_collide.jani new file mode 100644 index 000000000..db53bc718 --- /dev/null +++ b/examples/exported-jani-models/wlan5_collide.jani @@ -0,0 +1,10029 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"COL", + "type":"int" + }, + { + "name":"TRANS_TIME_MAX", + "type":"int" + } + ], + "variables":[ + { + "name":"col", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"COL" + } + }, + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":31 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":31 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"col", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + }, + { + "ref":"col", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"col", + "right":1 + }, + "right":"COL" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + }, + { + "ref":"col", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"col", + "right":1 + }, + "right":"COL" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":16 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":17 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":18 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":19 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":20 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":21 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":22 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":23 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":24 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":25 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":26 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":27 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":28 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":29 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":30 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":31 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":16 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":17 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":18 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":19 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":20 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":21 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":22 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":23 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":24 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":25 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":26 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":27 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":28 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":29 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":30 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":31 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + null, + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan5_time_bounded.jani b/examples/exported-jani-models/wlan5_time_bounded.jani new file mode 100644 index 000000000..c7279df4c --- /dev/null +++ b/examples/exported-jani-models/wlan5_time_bounded.jani @@ -0,0 +1,10097 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"TRANS_TIME_MAX", + "type":"int" + }, + { + "name":"DEADLINE", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":31 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + }, + { + "name":"t", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"DEADLINE" + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":31 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":5 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":16 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":17 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":18 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":19 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":20 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":21 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":22 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":23 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":24 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":25 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":26 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":27 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":28 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":29 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":30 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":31 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"timer", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"<", + "left":"t", + "right":"DEADLINE" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t", + "right":1 + }, + "right":"DEADLINE" + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"≥", + "left":"t", + "right":"DEADLINE" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":"t" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":16 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":17 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":18 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":19 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":20 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":21 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":22 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":23 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":24 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":25 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":26 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":27 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":28 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":29 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":30 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":31 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":5 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"timer" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + null, + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send2", + null, + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + "send1", + "send1", + null, + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null, + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan6.jani b/examples/exported-jani-models/wlan6.jani new file mode 100644 index 000000000..e1d3adcd4 --- /dev/null +++ b/examples/exported-jani-models/wlan6.jani @@ -0,0 +1,19386 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"TRANS_TIME_MAX", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":63 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":63 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + } + ], + "observables":[ + { + "name":"\"collisions\"" + }, + { + "name":"\"time\"" + }, + { + "name":"\"cost\"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + { + "ref":"\"collisions\"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + }, + 1, + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":16 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":17 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":18 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":19 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":20 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":21 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":22 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":23 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":24 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":25 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":26 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":27 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":28 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":29 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":30 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":31 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":16 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":17 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":18 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":19 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":20 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":21 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":22 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":23 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":24 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":25 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":26 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":27 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":28 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":29 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":30 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":31 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":32 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":33 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":34 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":35 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":36 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":37 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":38 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":39 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":40 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":41 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":42 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":43 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":44 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":45 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":46 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":47 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":48 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":49 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":50 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":51 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":52 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":53 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":54 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":55 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":56 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":57 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":58 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":59 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":60 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":61 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":62 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":63 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + { + "ref":"\"time\"", + "value":50 + }, + { + "ref":"\"cost\"", + "value":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"+", + "left":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + 50, + 0 + ] + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"=", + "left":{ + "op":"+", + "left":"c1", + "right":"c2" + }, + "right":1 + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":1 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":10 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + }, + { + "op":"*", + "left":50, + "right":20 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":1000 + }, + 0 + ] + } + }, + "right":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":2 + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"bc1", + "right":0 + }, + "right":{ + "op":">", + "left":"bc2", + "right":0 + } + } + }, + { + "op":"*", + "left":50, + "right":2000 + }, + 0 + ] + } + } + } + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":16 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":17 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":18 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":19 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":20 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":21 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":22 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":23 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":24 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":25 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":26 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":27 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":28 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":29 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":30 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":31 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":16 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":17 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":18 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":19 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":20 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":21 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":22 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":23 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":24 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":25 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":26 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":27 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":28 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":29 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":30 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":31 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":32 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":33 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":34 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":35 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":36 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":37 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":38 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":39 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":40 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":41 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":42 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":43 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":44 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":45 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":46 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":47 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":48 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":49 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":50 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":51 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":52 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":53 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":54 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":55 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":56 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":57 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":58 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":59 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":60 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":61 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":62 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":63 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + null, + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan6_collide.jani b/examples/exported-jani-models/wlan6_collide.jani new file mode 100644 index 000000000..eb35c585d --- /dev/null +++ b/examples/exported-jani-models/wlan6_collide.jani @@ -0,0 +1,14975 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"COL", + "type":"int" + }, + { + "name":"TRANS_TIME_MAX", + "type":"int" + } + ], + "variables":[ + { + "name":"col", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"COL" + } + }, + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":63 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":63 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"col", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + }, + { + "ref":"col", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"col", + "right":1 + }, + "right":"COL" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + }, + { + "ref":"col", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"col", + "right":1 + }, + "right":"COL" + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":16 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":17 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":18 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":19 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":20 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":21 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":22 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":23 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":24 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":25 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":26 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":27 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":28 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":29 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":30 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":31 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":16 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":17 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":18 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":19 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":20 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":21 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":22 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":23 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":24 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":25 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":26 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":27 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":28 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":29 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":30 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":31 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":32 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":33 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":34 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":35 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":36 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":37 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":38 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":39 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":40 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":41 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":42 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":43 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":44 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":45 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":46 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":47 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":48 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":49 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":50 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":51 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":52 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":53 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":54 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":55 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":56 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":57 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":58 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":59 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":60 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":61 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":62 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":63 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":16 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":17 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":18 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":19 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":20 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":21 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":22 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":23 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":24 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":25 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":26 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":27 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":28 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":29 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":30 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":31 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":16 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":17 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":18 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":19 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":20 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":21 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":22 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":23 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":24 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":25 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":26 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":27 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":28 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":29 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":30 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":31 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":32 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":33 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":34 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":35 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":36 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":37 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":38 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":39 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":40 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":41 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":42 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":43 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":44 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":45 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":46 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":47 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":48 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":49 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":50 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":51 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":52 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":53 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":54 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":55 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":56 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":57 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":58 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":59 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":60 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":61 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":62 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":63 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + "send2", + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + null, + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send1", + "send1", + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/wlan6_time_bounded.jani b/examples/exported-jani-models/wlan6_time_bounded.jani new file mode 100644 index 000000000..c95c4e615 --- /dev/null +++ b/examples/exported-jani-models/wlan6_time_bounded.jani @@ -0,0 +1,15043 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"send1" + }, + { + "name":"send2" + }, + { + "name":"finish1" + }, + { + "name":"finish2" + }, + { + "name":"time" + }, + { + "name":"tau__" + } + ], + "constants":[ + { + "name":"TRANS_TIME_MAX", + "type":"int" + }, + { + "name":"DEADLINE", + "type":"int" + } + ], + "variables":[ + { + "name":"c1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"c2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":63 + } + }, + { + "name":"backoff1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + }, + { + "name":"t", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"DEADLINE" + } + }, + { + "name":"x2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + }, + { + "name":"s2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":12 + } + }, + { + "name":"slot2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":63 + } + }, + { + "name":"backoff2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":15 + } + }, + { + "name":"bc2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":6 + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"t", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"s2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "automata":[ + { + "name":"medium", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":1 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":2 + }, + { + "ref":"c2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":">", + "left":"c1", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":">", + "left":"c2", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"c2", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station1", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":16 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":17 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":18 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":19 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":20 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":21 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":22 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":23 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":24 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":25 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":26 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":27 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":28 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":29 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":30 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":31 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":0 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":1 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":2 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":3 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":4 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":5 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":6 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":7 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":8 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":9 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":10 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":11 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":12 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":13 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":14 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":15 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":16 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":17 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":18 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":19 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":20 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":21 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":22 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":23 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":24 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":25 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":26 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":27 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":28 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":29 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":30 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":31 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":32 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":33 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":34 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":35 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":36 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":37 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":38 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":39 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":40 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":41 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":42 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":43 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":44 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":45 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":46 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":47 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":48 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":49 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":50 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":51 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":52 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":53 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":54 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":55 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":56 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":57 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":58 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":59 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":60 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":61 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":62 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":4 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"slot1", + "value":63 + }, + { + "ref":"bc1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc1", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"backoff1", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":{ + "op":"-", + "left":"backoff1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"backoff1", + "value":15 + }, + { + "ref":"slot1", + "value":{ + "op":"-", + "left":"slot1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"=", + "left":"x1", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":8 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"<", + "left":"x1", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":3 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":5 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":6 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"<", + "left":"x1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":9 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"<", + "left":"x1", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x1", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c1", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":11 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":10 + }, + { + "ref":"x1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"finish1", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":10 + }, + "right":{ + "op":"=", + "left":"c1", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x1", + "right":4 + }, + "right":{ + "op":"=", + "left":"x1", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + }, + { + "ref":"x1", + "value":0 + }, + { + "ref":"bc1", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c1", + "right":0 + }, + "right":{ + "op":">", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c1", + "right":0 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":">", + "left":"x1", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x1", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s1", + "right":11 + }, + "right":{ + "op":"=", + "left":"x1", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":3 + }, + { + "ref":"x1", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s1", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s1", + "value":12 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"timer", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"<", + "left":"t", + "right":"DEADLINE" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t", + "right":1 + }, + "right":"DEADLINE" + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"≥", + "left":"t", + "right":"DEADLINE" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":"t" + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"station2", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":1 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":2 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":2 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":4 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":8 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":16 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":17 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":18 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":19 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":20 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":21 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":22 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":23 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":24 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":25 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":26 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":27 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":28 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":29 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":30 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":32 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":31 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":3 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + }, + "right":{ + "op":"=", + "left":"bc2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":0 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":1 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":2 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":3 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":4 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":5 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":6 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":7 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":8 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":9 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":10 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":11 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":12 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":13 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":14 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":15 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":16 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":17 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":18 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":19 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":20 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":21 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":22 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":23 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":24 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":25 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":26 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":27 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":28 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":29 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":30 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":31 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":32 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":33 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":34 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":35 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":36 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":37 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":38 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":39 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":40 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":41 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":42 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":43 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":44 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":45 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":46 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":47 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":48 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":49 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":50 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":51 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":52 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":53 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":54 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":55 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":56 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":57 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":58 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":59 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":60 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":61 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":62 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":64 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":4 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"slot2", + "value":63 + }, + { + "ref":"bc2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"bc2", + "right":1 + }, + "right":6 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":3 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":4 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":5 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":6 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":7 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":8 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":9 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":10 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":11 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":12 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":13 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":14 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"/", + "left":1, + "right":16 + } + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"backoff2", + "value":15 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":">", + "left":"backoff2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":{ + "op":"-", + "left":"backoff2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":">", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"backoff2", + "value":15 + }, + { + "ref":"slot2", + "value":{ + "op":"-", + "left":"slot2", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"=", + "left":"x2", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"backoff2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"slot2", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":8 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":5 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":6 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":7 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"<", + "left":"x2", + "right":3 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":3 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":3, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":5 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":7 + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":6 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"<", + "left":"x2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":8 + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":9 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"<", + "left":"x2", + "right":"TRANS_TIME_MAX" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":9 + }, + "right":{ + "op":"≥", + "left":"x2", + "right":4 + } + }, + "right":{ + "op":"=", + "left":"c2", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":11 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":1 + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":1, + "right":1 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":10 + }, + { + "ref":"x2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"finish2", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":10 + }, + "right":{ + "op":"=", + "left":"c2", + "right":1 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"x2", + "right":4 + }, + "right":{ + "op":"=", + "left":"x2", + "right":{ + "op":"-", + "left":4, + "right":1 + } + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + }, + { + "ref":"x2", + "value":0 + }, + { + "ref":"bc2", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∨", + "left":{ + "op":">", + "left":"c2", + "right":0 + }, + "right":{ + "op":">", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"∧", + "left":{ + "op":"=", + "left":"c2", + "right":0 + }, + "right":{ + "op":"=", + "left":"c1", + "right":0 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":">", + "left":"x2", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x2", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x2", + "right":1 + }, + "right":{ + "op":"+", + "left":{ + "op":"max", + "left":6, + "right":"TRANS_TIME_MAX" + }, + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"s2", + "right":11 + }, + "right":{ + "op":"=", + "left":"x2", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":3 + }, + { + "ref":"x2", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"=", + "left":"s2", + "right":12 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"s2", + "value":12 + } + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"medium" + }, + { + "automaton":"station1" + }, + { + "automaton":"timer" + }, + { + "automaton":"station2" + } + ], + "syncs":[ + { + "synchronise":[ + null, + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send2", + null, + null, + "send2" + ], + "result":"send2" + }, + { + "synchronise":[ + "finish2", + null, + null, + "finish2" + ], + "result":"finish2" + }, + { + "synchronise":[ + "send1", + "send1", + null, + null + ], + "result":"send1" + }, + { + "synchronise":[ + "finish1", + "finish1", + null, + null + ], + "result":"finish1" + }, + { + "synchronise":[ + null, + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/zeroconf.jani b/examples/exported-jani-models/zeroconf.jani new file mode 100644 index 000000000..b020874c4 --- /dev/null +++ b/examples/exported-jani-models/zeroconf.jani @@ -0,0 +1,3310 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"reset" + }, + { + "name":"time" + }, + { + "name":"send" + }, + { + "name":"tau__" + }, + { + "name":"rec" + } + ], + "constants":[ + { + "name":"reset", + "type":"bool" + }, + { + "name":"N", + "type":"int" + }, + { + "name":"K", + "type":"int" + }, + { + "name":"err", + "type":"real" + } + ], + "variables":[ + { + "name":"b_ip7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b_ip6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b_ip5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b_ip4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b_ip3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b_ip2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b_ip1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b_ip0", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"n", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"n0", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":20 + } + }, + { + "name":"n1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"z", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"ip_mess", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":60 + } + }, + { + "name":"y", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":10 + } + }, + { + "name":"coll", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":10 + } + }, + { + "name":"probes", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"K" + } + }, + { + "name":"mess", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"defend", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"ip", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":2 + } + }, + { + "name":"l", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + } + ], + "observables":[ + { + "name":"" + } + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b_ip7", + "right":0 + }, + "right":{ + "op":"=", + "left":"b_ip6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b_ip5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b_ip4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b_ip3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b_ip2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b_ip1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b_ip0", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"n", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"n0", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"n1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"z", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"ip_mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coll", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"defend", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"ip", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"l", + "right":1 + } + } + }, + "automata":[ + { + "name":"environment", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"reset", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"n1", + "value":0 + }, + { + "ref":"n0", + "value":{ + "op":"min", + "left":20, + "right":{ + "op":"+", + "left":"n0", + "right":"n1" + } + } + }, + { + "ref":"ip_mess", + "value":0 + }, + { + "ref":"n", + "value":{ + "op":"?:", + "args":[ + "reset", + 0, + "n" + ] + } + }, + { + "ref":"b_ip7", + "value":0 + }, + { + "ref":"b_ip6", + "value":0 + }, + { + "ref":"b_ip5", + "value":0 + }, + { + "ref":"b_ip4", + "value":0 + }, + { + "ref":"b_ip3", + "value":0 + }, + { + "ref":"b_ip2", + "value":0 + }, + { + "ref":"b_ip1", + "value":0 + }, + { + "ref":"b_ip0", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"n", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"n0", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"n1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":">", + "left":"b", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"z", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"z", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + { + "ref":"", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip0", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + { + "ref":"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"ip", + "right":1 + } + }, + "err", + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip1", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + { + "ref":"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"ip", + "right":1 + } + }, + "err", + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip2", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + { + "ref":"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"ip", + "right":1 + } + }, + "err", + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip3", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + { + "ref":"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"ip", + "right":1 + } + }, + "err", + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip4", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + { + "ref":"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"ip", + "right":1 + } + }, + "err", + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip5", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + { + "ref":"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"ip", + "right":1 + } + }, + "err", + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip6", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + { + "ref":"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"ip", + "right":1 + } + }, + "err", + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip7", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + { + "ref":"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"ip", + "right":1 + } + }, + "err", + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"n", + "value":"n" + } + ], + "observables":[ + { + "ref":"", + "value":{ + "op":"?:", + "args":[ + { + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"ip", + "right":1 + } + }, + "err", + 0 + ] + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":">", + "left":"n", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.1000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + }, + { + "ref":"ip_mess", + "value":"b_ip0" + }, + { + "ref":"n", + "value":{ + "op":"-", + "left":"n", + "right":1 + } + }, + { + "ref":"b_ip7", + "value":0 + }, + { + "ref":"b_ip6", + "value":"b_ip7" + }, + { + "ref":"b_ip5", + "value":"b_ip6" + }, + { + "ref":"b_ip4", + "value":"b_ip5" + }, + { + "ref":"b_ip3", + "value":"b_ip4" + }, + { + "ref":"b_ip2", + "value":"b_ip3" + }, + { + "ref":"b_ip1", + "value":"b_ip2" + }, + { + "ref":"b_ip0", + "value":"b_ip1" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1000000 + }, + "location":"location", + "assignments":[ + { + "ref":"n", + "value":{ + "op":"-", + "left":"n", + "right":1 + } + }, + { + "ref":"b_ip7", + "value":0 + }, + { + "ref":"b_ip6", + "value":"b_ip7" + }, + { + "ref":"b_ip5", + "value":"b_ip6" + }, + { + "ref":"b_ip4", + "value":"b_ip5" + }, + { + "ref":"b_ip3", + "value":"b_ip4" + }, + { + "ref":"b_ip2", + "value":"b_ip3" + }, + { + "ref":"b_ip1", + "value":"b_ip2" + }, + { + "ref":"b_ip0", + "value":"b_ip1" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":">", + "left":"n0", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.1000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + }, + { + "ref":"ip_mess", + "value":0 + }, + { + "ref":"n0", + "value":{ + "op":"-", + "left":"n0", + "right":1 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1000000 + }, + "location":"location", + "assignments":[ + { + "ref":"n0", + "value":{ + "op":"-", + "left":"n0", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":">", + "left":"n1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.1000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + }, + { + "ref":"ip_mess", + "value":1 + }, + { + "ref":"n1", + "value":{ + "op":"-", + "left":"n1", + "right":1 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1000000 + }, + "location":"location", + "assignments":[ + { + "ref":"n1", + "value":{ + "op":"-", + "left":"n1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"ip_mess", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"z", + "value":0 + }, + { + "ref":"n0", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"n0", + "right":1 + }, + "right":20 + } + }, + { + "ref":"ip_mess", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"ip_mess", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"z", + "value":0 + }, + { + "ref":"n1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"n1", + "right":1 + }, + "right":8 + } + }, + { + "ref":"ip_mess", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"ip_mess", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"z", + "value":0 + }, + { + "ref":"ip_mess", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"z", + "value":0 + }, + { + "ref":"ip_mess", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"host0", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"reset", + "guard":{ + "exp":{ + "op":"=", + "left":"l", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec", + "guard":{ + "exp":{ + "op":"=", + "left":"l", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":1 + }, + "right":{ + "op":"<", + "left":"coll", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":1 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":1 + }, + { + "ref":"x", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":1 + }, + { + "ref":"x", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":2 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":2 + }, + { + "ref":"x", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":2 + }, + { + "ref":"x", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":1 + }, + "right":{ + "op":"=", + "left":"coll", + "right":10 + } + }, + "right":{ + "op":"<", + "left":"x", + "right":60 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x", + "right":1 + }, + "right":60 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":1 + }, + "right":{ + "op":"=", + "left":"coll", + "right":10 + } + }, + "right":{ + "op":"=", + "left":"x", + "right":60 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":1 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":1 + }, + { + "ref":"x", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":1 + }, + { + "ref":"x", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":2 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":2 + }, + { + "ref":"x", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":2 + }, + { + "ref":"x", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":2 + }, + "right":{ + "op":"<", + "left":"x", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x", + "right":1 + }, + "right":2 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":2 + }, + "right":{ + "op":"=", + "left":"x", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"probes", + "right":"K" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":0 + }, + { + "ref":"probes", + "value":{ + "op":"+", + "left":"probes", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":2 + }, + "right":{ + "op":"=", + "left":"x", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":"K" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":3 + }, + { + "ref":"probes", + "value":0 + }, + { + "ref":"coll", + "value":0 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":2 + }, + "right":{ + "op":"≠", + "left":"ip_mess", + "right":"ip" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":"l" + } + ] + } + ] + }, + { + "location":"location", + "action":"rec", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":2 + }, + "right":{ + "op":"=", + "left":"ip_mess", + "right":"ip" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":0 + }, + { + "ref":"coll", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"coll", + "right":1 + }, + "right":10 + } + }, + { + "ref":"x", + "value":0 + }, + { + "ref":"probes", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"defend", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x", + "right":1 + }, + "right":60 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"defend", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x", + "right":1 + }, + "right":60 + } + }, + { + "ref":"y", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y", + "right":1 + }, + "right":10 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"rec", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"ip_mess", + "right":"ip" + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"defend", + "right":0 + }, + "right":{ + "op":"≥", + "left":"y", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"defend", + "value":1 + }, + { + "ref":"mess", + "value":1 + }, + { + "ref":"y", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"ip_mess", + "right":"ip" + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"defend", + "right":0 + }, + "right":{ + "op":"<", + "left":"y", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":0 + }, + { + "ref":"probes", + "value":0 + }, + { + "ref":"defend", + "value":0 + }, + { + "ref":"x", + "value":0 + }, + { + "ref":"y", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"≠", + "left":"ip_mess", + "right":"ip" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":"l" + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"mess", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"probes", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":0 + }, + { + "ref":"probes", + "value":{ + "op":"+", + "left":"probes", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":4 + }, + { + "ref":"x", + "value":0 + }, + { + "ref":"y", + "value":0 + }, + { + "ref":"probes", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"l", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"environment" + }, + { + "automaton":"host0" + } + ], + "syncs":[ + { + "synchronise":[ + "reset", + "reset" + ], + "result":"reset" + }, + { + "synchronise":[ + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "send", + "send" + ], + "result":"send" + }, + { + "synchronise":[ + "rec", + "rec" + ], + "result":"rec" + }, + { + "synchronise":[ + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__" + ], + "result":"tau__" + } + ] + } +} diff --git a/examples/exported-jani-models/zeroconf_time_bounded.jani b/examples/exported-jani-models/zeroconf_time_bounded.jani new file mode 100644 index 000000000..87b9c6ac0 --- /dev/null +++ b/examples/exported-jani-models/zeroconf_time_bounded.jani @@ -0,0 +1,2998 @@ + +{ + "jani-version":1, + "features":[ + "derived-operators" + ], + "name":"Converted from PRISM by IscasMC", + "type":"mdp", + "actions":[ + { + "name":"reset" + }, + { + "name":"time" + }, + { + "name":"send" + }, + { + "name":"tau__" + }, + { + "name":"rec" + }, + { + "name":"done" + } + ], + "constants":[ + { + "name":"reset", + "type":"bool" + }, + { + "name":"T", + "type":"int" + }, + { + "name":"N", + "type":"int" + }, + { + "name":"K", + "type":"int" + } + ], + "variables":[ + { + "name":"b_ip7", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b_ip6", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b_ip5", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b_ip4", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b_ip3", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b_ip2", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b_ip1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"b_ip0", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"n", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"n0", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":20 + } + }, + { + "name":"n1", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":8 + } + }, + { + "name":"b", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"z", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"ip_mess", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":2 + } + }, + { + "name":"x", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":60 + } + }, + { + "name":"y", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":10 + } + }, + { + "name":"coll", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":10 + } + }, + { + "name":"probes", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":"K" + } + }, + { + "name":"mess", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"defend", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":1 + } + }, + { + "name":"ip", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":1, + "upper-bound":2 + } + }, + { + "name":"l", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":4 + } + }, + { + "name":"t", + "type":{ + "kind":"bounded", + "base":"int", + "lower-bound":0, + "upper-bound":{ + "op":"+", + "left":"T", + "right":1 + } + } + } + ], + "observables":[ + ], + "initial-states":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"b_ip7", + "right":0 + }, + "right":{ + "op":"=", + "left":"b_ip6", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b_ip5", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b_ip4", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b_ip3", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b_ip2", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b_ip1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b_ip0", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"n", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"n0", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"n1", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"z", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"ip_mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"y", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"coll", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"defend", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"ip", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"l", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"t", + "right":0 + } + } + }, + "automata":[ + { + "name":"environment", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"reset", + "guard":{ + "exp":true + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"n1", + "value":0 + }, + { + "ref":"n0", + "value":{ + "op":"min", + "left":20, + "right":{ + "op":"+", + "left":"n0", + "right":"n1" + } + } + }, + { + "ref":"ip_mess", + "value":0 + }, + { + "ref":"n", + "value":{ + "op":"?:", + "args":[ + "reset", + 0, + "n" + ] + } + }, + { + "ref":"b_ip7", + "value":0 + }, + { + "ref":"b_ip6", + "value":0 + }, + { + "ref":"b_ip5", + "value":0 + }, + { + "ref":"b_ip4", + "value":0 + }, + { + "ref":"b_ip3", + "value":0 + }, + { + "ref":"b_ip2", + "value":0 + }, + { + "ref":"b_ip1", + "value":0 + }, + { + "ref":"b_ip0", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"n", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"n0", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"n1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":"b" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":">", + "left":"b", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"z", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"z", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"z", + "right":1 + }, + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip0", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip1", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip2", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":3 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip3", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":4 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip4", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":5 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip5", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":6 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip6", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":7 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b_ip7", + "value":"ip" + }, + { + "ref":"n", + "value":{ + "op":"+", + "left":"n", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"n", + "right":8 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"n", + "value":"n" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":">", + "left":"n", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.1000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":1 + }, + { + "ref":"ip_mess", + "value":"b_ip0" + }, + { + "ref":"n", + "value":{ + "op":"-", + "left":"n", + "right":1 + } + }, + { + "ref":"b_ip7", + "value":0 + }, + { + "ref":"b_ip6", + "value":"b_ip7" + }, + { + "ref":"b_ip5", + "value":"b_ip6" + }, + { + "ref":"b_ip4", + "value":"b_ip5" + }, + { + "ref":"b_ip3", + "value":"b_ip4" + }, + { + "ref":"b_ip2", + "value":"b_ip3" + }, + { + "ref":"b_ip1", + "value":"b_ip2" + }, + { + "ref":"b_ip0", + "value":"b_ip1" + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1000000 + }, + "location":"location", + "assignments":[ + { + "ref":"n", + "value":{ + "op":"-", + "left":"n", + "right":1 + } + }, + { + "ref":"b_ip7", + "value":0 + }, + { + "ref":"b_ip6", + "value":"b_ip7" + }, + { + "ref":"b_ip5", + "value":"b_ip6" + }, + { + "ref":"b_ip4", + "value":"b_ip5" + }, + { + "ref":"b_ip3", + "value":"b_ip4" + }, + { + "ref":"b_ip2", + "value":"b_ip3" + }, + { + "ref":"b_ip1", + "value":"b_ip2" + }, + { + "ref":"b_ip0", + "value":"b_ip1" + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":">", + "left":"n0", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.1000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + }, + { + "ref":"ip_mess", + "value":0 + }, + { + "ref":"n0", + "value":{ + "op":"-", + "left":"n0", + "right":1 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1000000 + }, + "location":"location", + "assignments":[ + { + "ref":"n0", + "value":{ + "op":"-", + "left":"n0", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":0 + } + }, + "right":{ + "op":">", + "left":"n1", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"-", + "left":1, + "right":0.1000000 + } + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":2 + }, + { + "ref":"ip_mess", + "value":1 + }, + { + "ref":"n1", + "value":{ + "op":"-", + "left":"n1", + "right":1 + } + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":0.1000000 + }, + "location":"location", + "assignments":[ + { + "ref":"n1", + "value":{ + "op":"-", + "left":"n1", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"ip_mess", + "right":0 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"z", + "value":0 + }, + { + "ref":"n0", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"n0", + "right":1 + }, + "right":20 + } + }, + { + "ref":"ip_mess", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"ip_mess", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"z", + "value":0 + }, + { + "ref":"n1", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"n1", + "right":1 + }, + "right":8 + } + }, + { + "ref":"ip_mess", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":1 + } + }, + "right":{ + "op":"=", + "left":"ip_mess", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"z", + "value":0 + }, + { + "ref":"ip_mess", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":">", + "left":"l", + "right":0 + }, + "right":{ + "op":"=", + "left":"b", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"b", + "value":0 + }, + { + "ref":"z", + "value":0 + }, + { + "ref":"ip_mess", + "value":0 + } + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"host0", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"reset", + "guard":{ + "exp":{ + "op":"=", + "left":"l", + "right":0 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":1 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec", + "guard":{ + "exp":{ + "op":"=", + "left":"l", + "right":1 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":1 + }, + "right":{ + "op":"<", + "left":"coll", + "right":10 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":1 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":1 + }, + { + "ref":"x", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":1 + }, + { + "ref":"x", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":2 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":2 + }, + { + "ref":"x", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":2 + }, + { + "ref":"x", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":1 + }, + "right":{ + "op":"=", + "left":"coll", + "right":10 + } + }, + "right":{ + "op":"<", + "left":"x", + "right":60 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x", + "right":1 + }, + "right":60 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":1 + }, + "right":{ + "op":"=", + "left":"coll", + "right":10 + } + }, + "right":{ + "op":"=", + "left":"x", + "right":60 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":1 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":1 + }, + { + "ref":"x", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":1 + }, + { + "ref":"x", + "value":2 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":2 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":2 + }, + { + "ref":"x", + "value":1 + } + ], + "observables":[ + ] + }, + { + "probability":{ + "exp":{ + "op":"*", + "left":{ + "op":"/", + "left":1, + "right":3 + }, + "right":{ + "op":"-", + "left":1, + "right":{ + "op":"/", + "left":"N", + "right":65024 + } + } + } + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":2 + }, + { + "ref":"ip", + "value":2 + }, + { + "ref":"x", + "value":2 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":2 + }, + "right":{ + "op":"<", + "left":"x", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x", + "right":1 + }, + "right":2 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":2 + }, + "right":{ + "op":"=", + "left":"x", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"probes", + "right":"K" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":0 + }, + { + "ref":"probes", + "value":{ + "op":"+", + "left":"probes", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":2 + }, + "right":{ + "op":"=", + "left":"x", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":"K" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":3 + }, + { + "ref":"probes", + "value":0 + }, + { + "ref":"coll", + "value":0 + }, + { + "ref":"x", + "value":0 + } + ], + "observables":[ + ] + } + ] + }, + { + "location":"location", + "action":"rec", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":2 + }, + "right":{ + "op":"≠", + "left":"ip_mess", + "right":"ip" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":"l" + } + ] + } + ] + }, + { + "location":"location", + "action":"rec", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":2 + }, + "right":{ + "op":"=", + "left":"ip_mess", + "right":"ip" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":0 + }, + { + "ref":"coll", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"coll", + "right":1 + }, + "right":10 + } + }, + { + "ref":"x", + "value":0 + }, + { + "ref":"probes", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"defend", + "right":0 + } + }, + "right":{ + "op":"<", + "left":"x", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x", + "right":1 + }, + "right":60 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"defend", + "right":1 + } + }, + "right":{ + "op":"<", + "left":"x", + "right":2 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"x", + "right":1 + }, + "right":60 + } + }, + { + "ref":"y", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"y", + "right":1 + }, + "right":10 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"rec", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"ip_mess", + "right":"ip" + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"defend", + "right":0 + }, + "right":{ + "op":"≥", + "left":"y", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"defend", + "value":1 + }, + { + "ref":"mess", + "value":1 + }, + { + "ref":"y", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"ip_mess", + "right":"ip" + } + }, + "right":{ + "op":"∨", + "left":{ + "op":"=", + "left":"defend", + "right":0 + }, + "right":{ + "op":"<", + "left":"y", + "right":10 + } + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":0 + }, + { + "ref":"probes", + "value":0 + }, + { + "ref":"defend", + "value":0 + }, + { + "ref":"x", + "value":0 + }, + { + "ref":"y", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"rec", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"≠", + "left":"ip_mess", + "right":"ip" + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":"l" + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"mess", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x", + "right":2 + } + }, + "right":{ + "op":"<", + "left":"probes", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"x", + "value":0 + }, + { + "ref":"probes", + "value":{ + "op":"+", + "left":"probes", + "right":1 + } + } + ] + } + ] + }, + { + "location":"location", + "action":"send", + "guard":{ + "exp":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"∧", + "left":{ + "op":"=", + "left":"l", + "right":3 + }, + "right":{ + "op":"=", + "left":"mess", + "right":0 + } + }, + "right":{ + "op":"=", + "left":"x", + "right":2 + } + }, + "right":{ + "op":"=", + "left":"probes", + "right":1 + } + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"l", + "value":4 + }, + { + "ref":"x", + "value":0 + }, + { + "ref":"y", + "value":0 + }, + { + "ref":"probes", + "value":0 + } + ] + } + ] + }, + { + "location":"location", + "action":"tau__", + "guard":{ + "exp":{ + "op":"=", + "left":"l", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + ], + "observables":[ + ] + } + ] + } + ] + }, + { + "name":"timer", + "locations":[ + { + "name":"location" + } + ], + "initial-locations":[ + "location" + ], + "edges":[ + { + "location":"location", + "action":"time", + "guard":{ + "exp":{ + "op":"≤", + "left":"t", + "right":"T" + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":{ + "op":"min", + "left":{ + "op":"+", + "left":"t", + "right":1 + }, + "right":{ + "op":"+", + "left":"T", + "right":1 + } + } + } + ] + } + ] + }, + { + "location":"location", + "action":"done", + "guard":{ + "exp":{ + "op":"=", + "left":"l", + "right":4 + } + }, + "destinations":[ + { + "probability":{ + "exp":1 + }, + "location":"location", + "assignments":[ + { + "ref":"t", + "value":{ + "op":"+", + "left":"T", + "right":1 + } + } + ], + "observables":[ + ] + } + ] + } + ] + } + ], + "system":{ + "elements":[ + { + "automaton":"environment" + }, + { + "automaton":"host0" + }, + { + "automaton":"timer" + } + ], + "syncs":[ + { + "synchronise":[ + "time", + "time", + "time" + ], + "result":"time" + }, + { + "synchronise":[ + "reset", + "reset", + null + ], + "result":"reset" + }, + { + "synchronise":[ + "send", + "send", + null + ], + "result":"send" + }, + { + "synchronise":[ + "rec", + "rec", + null + ], + "result":"rec" + }, + { + "synchronise":[ + "tau__", + null, + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + "tau__", + null + ], + "result":"tau__" + }, + { + "synchronise":[ + null, + null, + "done" + ], + "result":"done" + } + ] + } +} diff --git a/examples/jani-examples/beb.jani b/examples/jani-examples/beb.jani deleted file mode 100755 index df2d43c66..000000000 --- a/examples/jani-examples/beb.jani +++ /dev/null @@ -1,2604 +0,0 @@ -{ - "jani-version": 1, - "name": "modelName", - "type": "mdp", - "actions": [ - { - "name": "tick" - }, - { - "name": "tack" - }, - { - "name": "tock" - } - ], - "variables": [ - { - "name": "cr", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 2 - }, - "initial-value": 0 - }, - { - "name": "line_seized", - "type": "bool", - "initial-value": false - }, - { - "name": "gave_up", - "type": "bool", - "initial-value": false - } - ], - "properties": [ - { - "name": "LineSeized", - "reach": "line_seized", - "type": "probability-max-query" - }, - { - "name": "GaveUp", - "reach": "gave_up", - "type": "probability-max-query" - } - ], - "automata": [ - { - "name": "Clock", - "variables": [], - "locations": [ - { - "name": "l_0" - }, - { - "name": "l_1" - }, - { - "name": "l_2" - }, - { - "name": "l_3" - } - ], - "initial-location": "l_0", - "edges": [ - { - "location": "l_0", - "action": "tick", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_1" - } - ] - }, - { - "location": "l_1", - "action": "tack", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_2" - } - ] - }, - { - "location": "l_2", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "cr", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_3", - "action": "tock", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0" - } - ] - } - ] - }, - { - "name": "Host", - "variables": [ - { - "name": "na", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 3 - }, - "initial-value": 0 - }, - { - "name": "ev", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 4 - }, - "initial-value": 2 - }, - { - "name": "wt", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 4 - }, - "initial-value": 0 - } - ], - "locations": [ - { - "name": "l_0" - }, - { - "name": "l_1" - }, - { - "name": "l_2" - }, - { - "name": "l_3" - }, - { - "name": "l_4" - }, - { - "name": "l_5" - } - ], - "initial-location": "l_0", - "edges": [ - { - "location": "l_0", - "action": "tick", - "guard": { - "op": ">", - "args": [ - "wt", - 0 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_1", - "assignments": [ - { - "ref": "wt", - "value": { - "op": "-", - "args": [ - "wt", - 1 - ] - } - } - ] - } - ] - }, - { - "location": "l_0", - "guard": { - "op": "≤", - "args": [ - "wt", - 0 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "cr", - "value": { - "op": "min", - "args": [ - 2, - { - "op": "+", - "args": [ - "cr", - 1 - ] - } - ] - } - } - ] - } - ] - }, - { - "location": "l_1", - "action": "tack", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_3" - } - ] - }, - { - "location": "l_2", - "action": "tick", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_4" - } - ] - }, - { - "location": "l_3", - "action": "tock", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0" - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "=", - "args": [ - "cr", - 1 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_5", - "assignments": [ - { - "ref": "line_seized", - "value": true - } - ] - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "∧", - "args": [ - { - "op": "≥", - "args": [ - "na", - 3 - ] - }, - { - "op": "≠", - "args": [ - "cr", - 1 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_5", - "assignments": [ - { - "ref": "gave_up", - "value": true - } - ] - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "<", - "args": [ - "na", - 3 - ] - }, - { - "op": "≠", - "args": [ - "cr", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - { - "op": "max", - "args": [ - 0, - { - "op": "-", - "args": [ - "ev", - 1 - ] - } - ] - }, - 0 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 0 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "<", - "args": [ - "na", - 3 - ] - }, - { - "op": "≠", - "args": [ - "cr", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - { - "op": "max", - "args": [ - 0, - { - "op": "-", - "args": [ - "ev", - 1 - ] - } - ] - }, - 1 - ] - } - ] - }, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 0 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 1 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "<", - "args": [ - "na", - 3 - ] - }, - { - "op": "≠", - "args": [ - "cr", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - { - "op": "max", - "args": [ - 0, - { - "op": "-", - "args": [ - "ev", - 1 - ] - } - ] - }, - 2 - ] - } - ] - }, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 3 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 0 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 3 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 1 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 3 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 2 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "<", - "args": [ - "na", - 3 - ] - }, - { - "op": "≠", - "args": [ - "cr", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - { - "op": "max", - "args": [ - 0, - { - "op": "-", - "args": [ - "ev", - 1 - ] - } - ] - }, - 3 - ] - } - ] - }, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 4 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 0 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 4 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 1 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 4 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 2 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 4 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 3 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - } - ] - } - ] - }, - { - "name": "Host_1", - "variables": [ - { - "name": "na", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 3 - }, - "initial-value": 0 - }, - { - "name": "ev", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 4 - }, - "initial-value": 2 - }, - { - "name": "wt", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 4 - }, - "initial-value": 0 - } - ], - "locations": [ - { - "name": "l_0" - }, - { - "name": "l_1" - }, - { - "name": "l_2" - }, - { - "name": "l_3" - }, - { - "name": "l_4" - }, - { - "name": "l_5" - } - ], - "initial-location": "l_0", - "edges": [ - { - "location": "l_0", - "action": "tick", - "guard": { - "op": ">", - "args": [ - "wt", - 0 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_1", - "assignments": [ - { - "ref": "wt", - "value": { - "op": "-", - "args": [ - "wt", - 1 - ] - } - } - ] - } - ] - }, - { - "location": "l_0", - "guard": { - "op": "≤", - "args": [ - "wt", - 0 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "cr", - "value": { - "op": "min", - "args": [ - 2, - { - "op": "+", - "args": [ - "cr", - 1 - ] - } - ] - } - } - ] - } - ] - }, - { - "location": "l_1", - "action": "tack", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_3" - } - ] - }, - { - "location": "l_2", - "action": "tick", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_4" - } - ] - }, - { - "location": "l_3", - "action": "tock", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0" - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "=", - "args": [ - "cr", - 1 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_5", - "assignments": [ - { - "ref": "line_seized", - "value": true - } - ] - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "∧", - "args": [ - { - "op": "≥", - "args": [ - "na", - 3 - ] - }, - { - "op": "≠", - "args": [ - "cr", - 1 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_5", - "assignments": [ - { - "ref": "gave_up", - "value": true - } - ] - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "<", - "args": [ - "na", - 3 - ] - }, - { - "op": "≠", - "args": [ - "cr", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - { - "op": "max", - "args": [ - 0, - { - "op": "-", - "args": [ - "ev", - 1 - ] - } - ] - }, - 0 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 0 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "<", - "args": [ - "na", - 3 - ] - }, - { - "op": "≠", - "args": [ - "cr", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - { - "op": "max", - "args": [ - 0, - { - "op": "-", - "args": [ - "ev", - 1 - ] - } - ] - }, - 1 - ] - } - ] - }, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 0 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 1 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "<", - "args": [ - "na", - 3 - ] - }, - { - "op": "≠", - "args": [ - "cr", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - { - "op": "max", - "args": [ - 0, - { - "op": "-", - "args": [ - "ev", - 1 - ] - } - ] - }, - 2 - ] - } - ] - }, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 3 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 0 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 3 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 1 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 3 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 2 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "<", - "args": [ - "na", - 3 - ] - }, - { - "op": "≠", - "args": [ - "cr", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - { - "op": "max", - "args": [ - 0, - { - "op": "-", - "args": [ - "ev", - 1 - ] - } - ] - }, - 3 - ] - } - ] - }, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 4 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 0 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 4 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 1 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 4 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 2 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 4 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 3 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - } - ] - } - ] - }, - { - "name": "Host_2", - "variables": [ - { - "name": "na", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 3 - }, - "initial-value": 0 - }, - { - "name": "ev", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 4 - }, - "initial-value": 2 - }, - { - "name": "wt", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 4 - }, - "initial-value": 0 - } - ], - "locations": [ - { - "name": "l_0" - }, - { - "name": "l_1" - }, - { - "name": "l_2" - }, - { - "name": "l_3" - }, - { - "name": "l_4" - }, - { - "name": "l_5" - } - ], - "initial-location": "l_0", - "edges": [ - { - "location": "l_0", - "action": "tick", - "guard": { - "op": ">", - "args": [ - "wt", - 0 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_1", - "assignments": [ - { - "ref": "wt", - "value": { - "op": "-", - "args": [ - "wt", - 1 - ] - } - } - ] - } - ] - }, - { - "location": "l_0", - "guard": { - "op": "≤", - "args": [ - "wt", - 0 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "cr", - "value": { - "op": "min", - "args": [ - 2, - { - "op": "+", - "args": [ - "cr", - 1 - ] - } - ] - } - } - ] - } - ] - }, - { - "location": "l_1", - "action": "tack", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_3" - } - ] - }, - { - "location": "l_2", - "action": "tick", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_4" - } - ] - }, - { - "location": "l_3", - "action": "tock", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0" - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "=", - "args": [ - "cr", - 1 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_5", - "assignments": [ - { - "ref": "line_seized", - "value": true - } - ] - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "∧", - "args": [ - { - "op": "≥", - "args": [ - "na", - 3 - ] - }, - { - "op": "≠", - "args": [ - "cr", - 1 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_5", - "assignments": [ - { - "ref": "gave_up", - "value": true - } - ] - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "<", - "args": [ - "na", - 3 - ] - }, - { - "op": "≠", - "args": [ - "cr", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - { - "op": "max", - "args": [ - 0, - { - "op": "-", - "args": [ - "ev", - 1 - ] - } - ] - }, - 0 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 0 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "<", - "args": [ - "na", - 3 - ] - }, - { - "op": "≠", - "args": [ - "cr", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - { - "op": "max", - "args": [ - 0, - { - "op": "-", - "args": [ - "ev", - 1 - ] - } - ] - }, - 1 - ] - } - ] - }, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 0 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 1 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "<", - "args": [ - "na", - 3 - ] - }, - { - "op": "≠", - "args": [ - "cr", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - { - "op": "max", - "args": [ - 0, - { - "op": "-", - "args": [ - "ev", - 1 - ] - } - ] - }, - 2 - ] - } - ] - }, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 3 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 0 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 3 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 1 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 3 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 2 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - } - ] - }, - { - "location": "l_4", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "<", - "args": [ - "na", - 3 - ] - }, - { - "op": "≠", - "args": [ - "cr", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - { - "op": "max", - "args": [ - 0, - { - "op": "-", - "args": [ - "ev", - 1 - ] - } - ] - }, - 3 - ] - } - ] - }, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 4 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 0 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 4 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 1 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 4 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 2 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 4 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "na", - "value": { - "op": "+", - "args": [ - "na", - 1 - ] - } - }, - { - "ref": "wt", - "value": 3 - }, - { - "ref": "ev", - "value": { - "op": "min", - "args": [ - { - "op": "*", - "args": [ - 2, - "ev" - ] - }, - 4 - ] - } - } - ] - } - ] - } - ] - } - ], - "system": { - "composition": "parallel", - "elements": [ - { - "composition": "parallel", - "elements": [ - { - "composition": "parallel", - "elements": [ - "Clock", - "Host" - ], - "alphabet": [ - "tick", - "tack", - "tock" - ] - }, - "Host_1" - ], - "alphabet": [ - "tick", - "tack", - "tock" - ] - }, - "Host_2" - ], - "alphabet": [ - "tick", - "tack", - "tock" - ] - } -} \ No newline at end of file diff --git a/examples/jani-examples/beb.jani.txt b/examples/jani-examples/beb.jani.txt deleted file mode 100755 index ca4a540d1..000000000 --- a/examples/jani-examples/beb.jani.txt +++ /dev/null @@ -1,27 +0,0 @@ -Peak memory usage: 38 MB -Analysis results for beb.jani - -+ State space exploration - States: 4528 - Transitions: 4874 - Branches: 6899 - Time: 0.0 s - Rate: 92408 states/s - -+ LineSeized - Probability: 0.9166259765625 - Time: 0.1 s - - + Value iteration - Final error: 0 - Iterations: 8 - Time: 0.0 s - -+ GaveUp - Probability: 0.0833740234375 - Time: 0.0 s - - + Value iteration - Final error: 0 - Iterations: 9 - Time: 0.0 s diff --git a/examples/jani-examples/beb.modest b/examples/jani-examples/beb.modest deleted file mode 100755 index 44f06b30e..000000000 --- a/examples/jani-examples/beb.modest +++ /dev/null @@ -1,64 +0,0 @@ -// Modest MDP model of the bounded exponential backoff procedure (BEB) -// [BFHH11] -action tick, tack, tock; - -const int K = 4; // maximum value for backoff -const int N = 3; // number of tries before giving up -const int H = 3; // number of hosts (must correspond to the number of Host() instantiations in the global composition) - -int(0..2) cr; // count how many hosts attempt to seize the line in a slot (zero, one, many) -bool line_seized; -bool gave_up; - -property LineSeized = Pmax(<> line_seized); // some host managed to seize the line before any other gave up -property GaveUp = Pmax(<> gave_up); // some host gave up before any other managed to seize the line (does not work with POR) - -process Clock() -{ - tick; tack; tau {= cr = 0 =}; tock; Clock() -} - -process Host() -{ - int(0..N) na; // nr_attempts 0..N - int(0..K) ev = 2; // exp_val 0..K - int(0..K) wt; // slots_to_wait 0..K - - do - { - if(wt > 0) - { - // wait this slot - tick {= wt-- =} - } - else - { - tau {= cr = min(2, cr + 1) =}; // attempt to seize the line - tick; - if(cr == 1) - { - // someone managed to seize the line - tau {= line_seized = true =}; stop - } - else if(na >= N) - { - // maximum number of attempts exceeded - tau {= gave_up = true =}; stop - } - else - { - // backoff - tau {= na++, wt = DiscreteUniform(0, max(0, ev - 1)), ev = min(2 * ev, K) =} - } - }; - tack; tock - } -} - -par -{ -:: Clock() -:: Host() -:: Host() -:: Host() -} diff --git a/examples/jani-examples/beb.modest.txt b/examples/jani-examples/beb.modest.txt deleted file mode 100755 index cbaee0f3d..000000000 --- a/examples/jani-examples/beb.modest.txt +++ /dev/null @@ -1,27 +0,0 @@ -Peak memory usage: 39 MB -Analysis results for beb.modest - -+ State space exploration - States: 4528 - Transitions: 4874 - Branches: 6899 - Time: 0.0 s - Rate: 94333 states/s - -+ LineSeized - Probability: 0.9166259765625 - Time: 0.1 s - - + Value iteration - Final error: 0 - Iterations: 8 - Time: 0.0 s - -+ GaveUp - Probability: 0.0833740234375 - Time: 0.0 s - - + Value iteration - Final error: 0 - Iterations: 9 - Time: 0.0 s diff --git a/examples/jani-examples/brp.jani b/examples/jani-examples/brp.jani deleted file mode 100755 index bd5d91a38..000000000 --- a/examples/jani-examples/brp.jani +++ /dev/null @@ -1,2092 +0,0 @@ -{ - "jani-version": 1, - "name": "modelName", - "type": "mdp", - "actions": [ - { - "name": "put" - }, - { - "name": "get" - }, - { - "name": "put_k" - }, - { - "name": "get_k" - }, - { - "name": "put_l" - }, - { - "name": "get_l" - }, - { - "name": "new_file" - }, - { - "name": "s_ok" - }, - { - "name": "s_dk" - }, - { - "name": "s_nok" - }, - { - "name": "s_restart" - }, - { - "name": "r_ok" - }, - { - "name": "r_inc" - }, - { - "name": "r_fst" - }, - { - "name": "r_nok" - }, - { - "name": "r_timeout" - }, - { - "name": "error" - }, - { - "name": "tick" - } - ], - "variables": [ - { - "name": "ff", - "type": "bool", - "initial-value": false - }, - { - "name": "lf", - "type": "bool", - "initial-value": false - }, - { - "name": "ab", - "type": "bool", - "initial-value": false - }, - { - "name": "i", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 16 - }, - "initial-value": 0 - }, - { - "name": "inTransitK", - "type": "bool", - "initial-value": false - }, - { - "name": "inTransitL", - "type": "bool", - "initial-value": false - }, - { - "name": "first_file_done", - "type": "bool", - "initial-value": false - }, - { - "name": "get_k_seen", - "type": "bool", - "initial-value": false - }, - { - "name": "s_ok_seen", - "type": "bool", - "initial-value": false - }, - { - "name": "s_nok_seen", - "type": "bool", - "initial-value": false - }, - { - "name": "s_dk_seen", - "type": "bool", - "initial-value": false - }, - { - "name": "s_restart_seen", - "type": "bool", - "initial-value": false - }, - { - "name": "r_ok_seen", - "type": "bool", - "initial-value": false - }, - { - "name": "r_timeout_seen", - "type": "bool", - "initial-value": false - }, - { - "name": "premature_timeout", - "type": "bool", - "initial-value": false - }, - { - "name": "channel_k_overflow", - "type": "bool", - "initial-value": false - }, - { - "name": "channel_l_overflow", - "type": "bool", - "initial-value": false - }, - { - "name": "Sender_location", - "type": "int", - "initial-value": 0 - }, - { - "name": "Receiver_location", - "type": "int", - "initial-value": 0 - }, - { - "name": "ChannelK_location", - "type": "int", - "initial-value": 0 - }, - { - "name": "ChannelL_location", - "type": "int", - "initial-value": 0 - }, - { - "name": "Observer_location", - "type": "int", - "initial-value": 0 - } - ], - "properties": [ - { - "name": "P_A", - "reach": { - "op": "∧", - "args": [ - "s_nok_seen", - "r_ok_seen" - ] - }, - "type": "probability-max-query" - }, - { - "name": "P_B", - "reach": { - "op": "∧", - "args": [ - "s_ok_seen", - { - "op": "!", - "args": [ - "r_ok_seen" - ] - } - ] - }, - "type": "probability-max-query" - }, - { - "name": "P_1", - "reach": { - "op": "∨", - "args": [ - "s_nok_seen", - "s_dk_seen" - ] - }, - "type": "probability-max-query" - }, - { - "name": "P_2", - "reach": "s_dk_seen", - "type": "probability-max-query" - }, - { - "name": "P_3", - "reach": { - "op": "∧", - "args": [ - "s_nok_seen", - { - "op": ">", - "args": [ - "i", - 8 - ] - } - ] - }, - "type": "probability-max-query" - }, - { - "name": "P_4", - "reach": { - "op": "∧", - "args": [ - { - "op": "∨", - "args": [ - { - "op": "∨", - "args": [ - "s_ok_seen", - "s_nok_seen" - ] - }, - "s_dk_seen" - ] - }, - { - "op": "!", - "args": [ - "get_k_seen" - ] - } - ] - }, - "type": "probability-max-query" - } - ], - "automata": [ - { - "name": "Sender", - "variables": [ - { - "name": "bit", - "type": "bool", - "initial-value": false - }, - { - "name": "rc", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 2 - }, - "initial-value": 0 - }, - { - "name": "c", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 16 - }, - "initial-value": 0 - } - ], - "locations": [ - { - "name": "l_0" - }, - { - "name": "l_1" - }, - { - "name": "l_2" - }, - { - "name": "l_3" - }, - { - "name": "l_4" - }, - { - "name": "l_5" - }, - { - "name": "l_6" - }, - { - "name": "l_7" - } - ], - "initial-location": "l_0", - "edges": [ - { - "location": "l_0", - "guard": { - "op": "<", - "args": [ - "i", - 16 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_1", - "assignments": [ - { - "ref": "i", - "value": { - "op": "+", - "args": [ - "i", - 1 - ] - } - }, - { - "ref": "Sender_location", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_0", - "action": "s_ok", - "guard": { - "op": "=", - "args": [ - "i", - 16 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "first_file_done", - "value": true - }, - { - "ref": "Sender_location", - "value": 2 - }, - { - "ref": "c", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_0", - "action": "tick", - "guard": { - "op": "∧", - "args": [ - { - "op": "≥", - "args": [ - "i", - 16 - ] - }, - { - "op": "<", - "args": [ - "c", - 0 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_0", - "assignments": [ - { - "ref": "c", - "value": { - "op": "min", - "args": [ - { - "op": "+", - "args": [ - "c", - 1 - ] - }, - 16 - ] - } - } - ] - } - ] - }, - { - "location": "l_1", - "action": "put_k", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "ff", - "value": { - "op": "=", - "args": [ - "i", - 1 - ] - } - }, - { - "ref": "lf", - "value": { - "op": "=", - "args": [ - "i", - 16 - ] - } - }, - { - "ref": "ab", - "value": "bit" - }, - { - "ref": "c", - "value": 0 - }, - { - "ref": "Sender_location", - "value": 3 - } - ] - } - ] - }, - { - "location": "l_1", - "action": "tick", - "guard": { - "op": "<", - "args": [ - "c", - 0 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_1", - "assignments": [ - { - "ref": "c", - "value": { - "op": "min", - "args": [ - { - "op": "+", - "args": [ - "c", - 1 - ] - }, - 16 - ] - } - } - ] - } - ] - }, - { - "location": "l_2", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_4", - "assignments": [ - { - "ref": "Sender_location", - "value": 4 - } - ] - } - ] - }, - { - "location": "l_3", - "action": "get_l", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_5", - "assignments": [ - { - "ref": "bit", - "value": { - "op": "!", - "args": [ - "bit" - ] - } - }, - { - "ref": "rc", - "value": 0 - }, - { - "ref": "c", - "value": 0 - }, - { - "ref": "Sender_location", - "value": 5 - } - ] - } - ] - }, - { - "location": "l_3", - "guard": { - "op": "∧", - "args": [ - { - "op": "<", - "args": [ - "rc", - 2 - ] - }, - { - "op": "≥", - "args": [ - "c", - 3 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_1", - "assignments": [ - { - "ref": "rc", - "value": { - "op": "+", - "args": [ - "rc", - 1 - ] - } - }, - { - "ref": "c", - "value": 0 - }, - { - "ref": "Sender_location", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_3", - "action": "s_nok", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "<", - "args": [ - "i", - 16 - ] - }, - { - "op": "≥", - "args": [ - "rc", - 2 - ] - } - ] - }, - { - "op": "≥", - "args": [ - "c", - 3 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_6", - "assignments": [ - { - "ref": "rc", - "value": 0 - }, - { - "ref": "c", - "value": 0 - }, - { - "ref": "Sender_location", - "value": 6 - } - ] - } - ] - }, - { - "location": "l_3", - "action": "s_dk", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "≥", - "args": [ - "i", - 16 - ] - }, - { - "op": "≥", - "args": [ - "rc", - 2 - ] - } - ] - }, - { - "op": "≥", - "args": [ - "c", - 3 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_6", - "assignments": [ - { - "ref": "rc", - "value": 0 - }, - { - "ref": "c", - "value": 0 - }, - { - "ref": "Sender_location", - "value": 6 - } - ] - } - ] - }, - { - "location": "l_3", - "action": "tick", - "guard": { - "op": "<", - "args": [ - "c", - 3 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "c", - "value": { - "op": "min", - "args": [ - { - "op": "+", - "args": [ - "c", - 1 - ] - }, - 16 - ] - } - } - ] - } - ] - }, - { - "location": "l_4", - "action": "tick", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_4" - } - ] - }, - { - "location": "l_5", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0", - "assignments": [ - { - "ref": "Sender_location", - "value": 7 - } - ] - } - ] - }, - { - "location": "l_6", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_7", - "assignments": [ - { - "ref": "Sender_location", - "value": 8 - } - ] - } - ] - }, - { - "location": "l_7", - "action": "s_restart", - "guard": { - "op": "≥", - "args": [ - "c", - 15 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_4", - "assignments": [ - { - "ref": "bit", - "value": false - }, - { - "ref": "first_file_done", - "value": true - }, - { - "ref": "Sender_location", - "value": 4 - }, - { - "ref": "c", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_7", - "action": "tick", - "guard": { - "op": "<", - "args": [ - "c", - 15 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_7", - "assignments": [ - { - "ref": "c", - "value": { - "op": "min", - "args": [ - { - "op": "+", - "args": [ - "c", - 1 - ] - }, - 16 - ] - } - } - ] - } - ] - } - ] - }, - { - "name": "Receiver", - "variables": [ - { - "name": "r_ff", - "type": "bool", - "initial-value": false - }, - { - "name": "r_lf", - "type": "bool", - "initial-value": false - }, - { - "name": "r_ab", - "type": "bool", - "initial-value": false - }, - { - "name": "bit", - "type": "bool", - "initial-value": false - }, - { - "name": "c", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 16 - }, - "initial-value": 0 - } - ], - "locations": [ - { - "name": "l_0" - }, - { - "name": "l_1" - }, - { - "name": "l_2" - }, - { - "name": "l_3" - }, - { - "name": "l_4" - }, - { - "name": "l_5" - }, - { - "name": "l_6" - } - ], - "initial-location": "l_0", - "edges": [ - { - "location": "l_0", - "action": "get_k", - "guard": "ff", - "destinations": [ - { - "probability": 1, - "location": "l_1", - "assignments": [ - { - "ref": "c", - "value": 0 - }, - { - "ref": "bit", - "value": "ab" - }, - { - "ref": "r_ff", - "value": "ff" - }, - { - "ref": "r_lf", - "value": "lf" - }, - { - "ref": "r_ab", - "value": "ab" - }, - { - "ref": "Receiver_location", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_0", - "action": "get_k", - "guard": { - "op": "!", - "args": [ - "ff" - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "premature_timeout", - "value": true - }, - { - "ref": "Receiver_location", - "value": 2 - } - ] - } - ] - }, - { - "location": "l_0", - "action": "tick", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0" - } - ] - }, - { - "location": "l_1", - "action": "put_l", - "guard": { - "op": "≠", - "args": [ - "r_ab", - "bit" - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "Receiver_location", - "value": 3 - } - ] - } - ] - }, - { - "location": "l_1", - "action": "r_ok", - "guard": { - "op": "∧", - "args": [ - "r_lf", - { - "op": "=", - "args": [ - "r_ab", - "bit" - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_4", - "assignments": [ - { - "ref": "Receiver_location", - "value": 4 - } - ] - } - ] - }, - { - "location": "l_1", - "action": "r_fst", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - "r_ff", - { - "op": "!", - "args": [ - "r_lf" - ] - } - ] - }, - { - "op": "=", - "args": [ - "r_ab", - "bit" - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_4", - "assignments": [ - { - "ref": "Receiver_location", - "value": 4 - } - ] - } - ] - }, - { - "location": "l_1", - "action": "r_inc", - "guard": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "!", - "args": [ - "r_ff" - ] - }, - { - "op": "!", - "args": [ - "r_lf" - ] - } - ] - }, - { - "op": "=", - "args": [ - "r_ab", - "bit" - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_4", - "assignments": [ - { - "ref": "Receiver_location", - "value": 4 - } - ] - } - ] - }, - { - "location": "l_1", - "action": "tick", - "guard": { - "op": "<", - "args": [ - "c", - 0 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_1", - "assignments": [ - { - "ref": "c", - "value": { - "op": "min", - "args": [ - { - "op": "+", - "args": [ - "c", - 1 - ] - }, - 16 - ] - } - } - ] - } - ] - }, - { - "location": "l_2", - "action": "tick", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_2" - } - ] - }, - { - "location": "l_3", - "action": "get_k", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_1", - "assignments": [ - { - "ref": "c", - "value": 0 - }, - { - "ref": "r_ff", - "value": "ff" - }, - { - "ref": "r_lf", - "value": "lf" - }, - { - "ref": "r_ab", - "value": "ab" - }, - { - "ref": "Receiver_location", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_3", - "action": "r_timeout", - "guard": { - "op": "∧", - "args": [ - "r_lf", - { - "op": "=", - "args": [ - "c", - 15 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_5", - "assignments": [ - { - "ref": "Receiver_location", - "value": 5 - } - ] - } - ] - }, - { - "location": "l_3", - "action": "r_nok", - "guard": { - "op": "∧", - "args": [ - { - "op": "!", - "args": [ - "r_lf" - ] - }, - { - "op": "=", - "args": [ - "c", - 15 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_6", - "assignments": [ - { - "ref": "Receiver_location", - "value": 6 - } - ] - } - ] - }, - { - "location": "l_3", - "action": "tick", - "guard": { - "op": "<", - "args": [ - "c", - 15 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "c", - "value": { - "op": "min", - "args": [ - { - "op": "+", - "args": [ - "c", - 1 - ] - }, - 16 - ] - } - } - ] - } - ] - }, - { - "location": "l_4", - "action": "put_l", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "bit", - "value": { - "op": "!", - "args": [ - "bit" - ] - } - }, - { - "ref": "Receiver_location", - "value": 3 - } - ] - } - ] - }, - { - "location": "l_4", - "action": "tick", - "guard": { - "op": "<", - "args": [ - "c", - 0 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_4", - "assignments": [ - { - "ref": "c", - "value": { - "op": "min", - "args": [ - { - "op": "+", - "args": [ - "c", - 1 - ] - }, - 16 - ] - } - } - ] - } - ] - }, - { - "location": "l_5", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0", - "assignments": [ - { - "ref": "r_ff", - "value": false - }, - { - "ref": "r_lf", - "value": false - }, - { - "ref": "r_ab", - "value": false - }, - { - "ref": "bit", - "value": false - }, - { - "ref": "c", - "value": 0 - }, - { - "ref": "Receiver_location", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_5", - "action": "tick", - "guard": { - "op": "<", - "args": [ - "c", - 15 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_5", - "assignments": [ - { - "ref": "c", - "value": { - "op": "min", - "args": [ - { - "op": "+", - "args": [ - "c", - 1 - ] - }, - 16 - ] - } - } - ] - } - ] - }, - { - "location": "l_6", - "action": "r_timeout", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_5", - "assignments": [ - { - "ref": "Receiver_location", - "value": 5 - } - ] - } - ] - }, - { - "location": "l_6", - "action": "tick", - "guard": { - "op": "<", - "args": [ - "c", - 15 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_6", - "assignments": [ - { - "ref": "c", - "value": { - "op": "min", - "args": [ - { - "op": "+", - "args": [ - "c", - 1 - ] - }, - 16 - ] - } - } - ] - } - ] - } - ] - }, - { - "name": "ChannelK", - "variables": [ - { - "name": "c", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 2 - }, - "initial-value": 0 - } - ], - "locations": [ - { - "name": "l_0" - }, - { - "name": "l_1" - }, - { - "name": "l_2" - } - ], - "initial-location": "l_0", - "edges": [ - { - "location": "l_0", - "action": "put_k", - "guard": true, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 49, - 50 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "c", - "value": 0 - }, - { - "ref": "inTransitK", - "value": true - }, - { - "ref": "ChannelK_location", - "value": 1 - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 50 - ] - }, - "location": "l_0", - "assignments": [ - { - "ref": "ChannelK_location", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_0", - "action": "tick", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0" - } - ] - }, - { - "location": "l_1", - "action": "get_k", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0", - "assignments": [ - { - "ref": "inTransitK", - "value": false - }, - { - "ref": "c", - "value": 0 - }, - { - "ref": "ChannelK_location", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_1", - "action": "put_k", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "channel_k_overflow", - "value": true - }, - { - "ref": "ChannelK_location", - "value": 2 - }, - { - "ref": "c", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_1", - "action": "tick", - "guard": { - "op": "<", - "args": [ - "c", - 1 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_1", - "assignments": [ - { - "ref": "c", - "value": { - "op": "min", - "args": [ - { - "op": "+", - "args": [ - "c", - 1 - ] - }, - 2 - ] - } - } - ] - } - ] - }, - { - "location": "l_2", - "action": "tick", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_2" - } - ] - } - ] - }, - { - "name": "ChannelL", - "variables": [ - { - "name": "c", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 2 - }, - "initial-value": 0 - } - ], - "locations": [ - { - "name": "l_0" - }, - { - "name": "l_1" - }, - { - "name": "l_2" - } - ], - "initial-location": "l_0", - "edges": [ - { - "location": "l_0", - "action": "put_l", - "guard": true, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 99, - 100 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "c", - "value": 0 - }, - { - "ref": "inTransitL", - "value": true - }, - { - "ref": "ChannelL_location", - "value": 1 - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 100 - ] - }, - "location": "l_0", - "assignments": [ - { - "ref": "ChannelL_location", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_0", - "action": "tick", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0" - } - ] - }, - { - "location": "l_1", - "action": "get_l", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0", - "assignments": [ - { - "ref": "inTransitL", - "value": false - }, - { - "ref": "c", - "value": 0 - }, - { - "ref": "ChannelL_location", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_1", - "action": "put_l", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "channel_l_overflow", - "value": true - }, - { - "ref": "ChannelL_location", - "value": 2 - }, - { - "ref": "c", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_1", - "action": "tick", - "guard": { - "op": "<", - "args": [ - "c", - 1 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_1", - "assignments": [ - { - "ref": "c", - "value": { - "op": "min", - "args": [ - { - "op": "+", - "args": [ - "c", - 1 - ] - }, - 2 - ] - } - } - ] - } - ] - }, - { - "location": "l_2", - "action": "tick", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_2" - } - ] - } - ] - }, - { - "name": "Observer", - "variables": [], - "locations": [ - { - "name": "l_0" - } - ], - "initial-location": "l_0", - "edges": [ - { - "location": "l_0", - "action": "get_k", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0", - "assignments": [ - { - "ref": "get_k_seen", - "value": true - }, - { - "ref": "Observer_location", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_0", - "action": "s_ok", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0", - "assignments": [ - { - "ref": "s_ok_seen", - "value": true - }, - { - "ref": "Observer_location", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_0", - "action": "s_nok", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0", - "assignments": [ - { - "ref": "s_nok_seen", - "value": true - }, - { - "ref": "Observer_location", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_0", - "action": "s_dk", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0", - "assignments": [ - { - "ref": "s_dk_seen", - "value": true - }, - { - "ref": "Observer_location", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_0", - "action": "s_restart", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0", - "assignments": [ - { - "ref": "s_restart_seen", - "value": true - }, - { - "ref": "Observer_location", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_0", - "action": "r_ok", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0", - "assignments": [ - { - "ref": "r_ok_seen", - "value": true - }, - { - "ref": "Observer_location", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_0", - "action": "r_timeout", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0", - "assignments": [ - { - "ref": "r_timeout_seen", - "value": true - }, - { - "ref": "Observer_location", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_0", - "action": "tick", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_0" - } - ] - } - ] - } - ], - "system": { - "composition": "parallel", - "elements": [ - { - "composition": "parallel", - "elements": [ - { - "composition": "parallel", - "elements": [ - { - "composition": "parallel", - "elements": [ - "Sender", - "Receiver" - ], - "alphabet": [ - "tick" - ] - }, - "ChannelK" - ], - "alphabet": [ - "put_k", - "get_k", - "tick" - ] - }, - "ChannelL" - ], - "alphabet": [ - "get_l", - "put_l", - "tick" - ] - }, - "Observer" - ], - "alphabet": [ - "s_nok", - "s_dk", - "s_ok", - "s_restart", - "get_k", - "r_ok", - "r_timeout", - "tick" - ] - } -} \ No newline at end of file diff --git a/examples/jani-examples/brp.jani.txt b/examples/jani-examples/brp.jani.txt deleted file mode 100755 index 9c0fcd322..000000000 --- a/examples/jani-examples/brp.jani.txt +++ /dev/null @@ -1,63 +0,0 @@ -Peak memory usage: 39 MB -Analysis results for brp.jani - -+ State space exploration - States: 3959 - Transitions: 4244 - Branches: 4593 - Time: 0.1 s - Rate: 74698 states/s - -+ P_A - Probability: 0 - Time: 0.0 s - - + Value iteration - Final error: 0 - Iterations: 1 - Time: 0.0 s - -+ P_B - Probability: 0 - Time: 0.0 s - - + Value iteration - Final error: 0 - Iterations: 1 - Time: 0.0 s - -+ P_1 - Probability: 0.000423333443357766 - Time: 0.0 s - - + Value iteration - Final error: 2.35005704803786E-07 - Iterations: 13 - Time: 0.0 s - -+ P_2 - Probability: 2.64530890961023E-05 - Time: 0.0 s - - + Value iteration - Final error: 2.05561452068843E-07 - Iterations: 14 - Time: 0.0 s - -+ P_3 - Probability: 0.000185191226393368 - Time: 0.0 s - - + Value iteration - Final error: 3.32462409056221E-07 - Iterations: 13 - Time: 0.0 s - -+ P_4 - Probability: 8E-06 - Time: 0.0 s - - + Value iteration - Final error: 0 - Iterations: 2 - Time: 0.0 s diff --git a/examples/jani-examples/brp.modest b/examples/jani-examples/brp.modest deleted file mode 100755 index 64743232f..000000000 --- a/examples/jani-examples/brp.modest +++ /dev/null @@ -1,213 +0,0 @@ -// Modest PTA model of the bounded retransmission protocol (BRP) -// [HH09], http://www.modestchecker.net/CaseStudies/BRP/ -action put, get, put_k, get_k, put_l, get_l; -action new_file; -action s_ok, s_dk, s_nok, s_restart; -action r_ok, r_inc, r_fst, r_nok, r_timeout; -exception error; - -const int N = 16; // number of frames per file -const int MAX = 2; // maximum number of retransmissions per frame -const int TD = 1; // transmission delay -const int TS = 2 * TD + 1; // sender timeout -const int TR = 2 * MAX * TS + 3 * TD; // receiver timeout -const int SYNC = TR; - -bool ff, lf, ab; // channel data: first/last frame, alternating bit -int(0..N) i; // sender chunk counter -bool inTransitK = false; -bool inTransitL = false; - -bool first_file_done = false; -bool get_k_seen, s_ok_seen, s_nok_seen, s_dk_seen, s_restart_seen, r_ok_seen, r_timeout_seen; - -// Invariant (timed) properties (from [BrpOnTime], the TA model) -bool premature_timeout, channel_k_overflow, channel_l_overflow; -// "there is at most one message in transit for each channel" -property T_1 = A[] (!(channel_k_overflow || channel_l_overflow)); -// "there is at most one message in transit in total" -property T_2 = A[] (!(inTransitK && inTransitL)); -// Assumption (A1): "no premature timeouts" -property T_A1 = A[] (!premature_timeout); -// Assumption (A2): "sender starts new file only after receiver reacted to failure" -// Note that receiver can only notice failure if it received at least one chunk, i.e. get_k_seen -property T_A2 = A[] (!s_restart_seen || !get_k_seen || r_timeout_seen); - -// Probabilistic reachability properties (from [D'AJJL01], the RAPTURE/PRISM model) -// property A of [D'AJJL01]: "the maximum probability that eventually the sender reports -// a certain unsuccessful transmission but the receiver got the complete file" -property P_A = Pmax(<>(s_nok_seen && r_ok_seen)); -// property B of [D'AJJL01]: "the maximum probability that eventually the sender reports -// a certain successful transmission but the receiver did not get the complete file" -property P_B = Pmax(<>(s_ok_seen && !r_ok_seen)); -// property 1 of [D'AJJL01]: "the maximum probability that eventually the sender -// does not report a successful transmission" -property P_1 = Pmax(<>(s_nok_seen || s_dk_seen)); -// property 2 of [D'AJJL01]: "the maximum probability that eventually the sender -// reports an uncertainty on the success of the transmission" -property P_2 = Pmax(<>(s_dk_seen)); -// property 3 of [D'AJJL01]: "the maximum probability that eventually the sender -// reports an unsuccessful transmission after more than 8 chunks have been sent successfully" -property P_3 = Pmax(<>(s_nok_seen && i > 8)); -// property 4 of [D'AJJL01]: "the maximum probability that eventually the receiver -// does not receive any chunk and the sender tried to send a chunk" -property P_4 = Pmax(<>((s_ok_seen || s_nok_seen || s_dk_seen) && !get_k_seen)); - - -process Sender() -{ - bool bit; - int(0..MAX) rc; - clock c; - - try - { - do { - :: when urgent(i < N) {= i++ =}; - do - { - // send frame - invariant(c <= 0) put_k {= ff = (i == 1), lf = (i == N), ab = bit, c = 0 =}; - invariant(c <= TS) alt { - :: // receive ack - get_l {= bit = !bit, rc = 0, c = 0 =}; - urgent break - :: // timeout - when(c >= TS) - if(rc < MAX) - { - // retry - {= rc++, c = 0 =} - } - else if(i < N) - { - // no retries left - s_nok {= rc = 0, c = 0 =}; - urgent throw(error) - } - else - { - // no retries left - s_dk {= rc = 0, c = 0 =}; - urgent throw(error) - } - } - } - :: when(i == N) - // file transmission successfully completed - invariant(c <= 0) s_ok {= first_file_done = true =}; - urgent break - } - } - catch error - { - // File transfer did not succeed: wait, then restart with next file - invariant(c <= SYNC) when(c >= SYNC) - s_restart {= bit = false, first_file_done = true =} - } -} - -process Receiver() -{ - bool r_ff, r_lf, r_ab; - bool bit; - clock c; - - // receive first frame - if(ff) { get_k {= c = 0, bit = ab, r_ff = ff, r_lf = lf, r_ab = ab =} } - else { get_k {= c = 0, premature_timeout = true =}; stop }; - do - { - invariant(c <= 0) - { - if(r_ab != bit) - { - // repetition, re-ack - put_l - } - else - { - // report frame - if(r_lf) { r_ok } - else if(r_ff) { r_fst } - else { r_inc }; - put_l {= bit = !bit =} - } - }; - invariant(c <= TR) - { - alt { - :: // receive next frame - get_k {= c = 0, r_ff = ff, r_lf = lf, r_ab = ab =} - :: // timeout - when(c == TR) - if(r_lf) - { - // we just got the last frame, though - r_timeout; break - } - else - { - r_nok; - // abort transfer - r_timeout; break - } - } - } - }; - Receiver() -} - -process ChannelK() -{ - clock c; - - put_k palt - { - :98: {= c = 0, inTransitK = true =}; - invariant(c <= TD) alt { - :: get_k {= inTransitK = false =} - :: put_k {= channel_k_overflow = true =}; stop - } - : 2: {==} - }; - ChannelK() -} - -process ChannelL() -{ - clock c; - - put_l palt - { - :99: {= c = 0, inTransitL = true =}; - invariant(c <= TD) alt { - :: get_l {= inTransitL = false =} - :: put_l {= channel_l_overflow = true =}; stop - } - : 1: {==} - }; - ChannelL() -} - -process Observer() -{ - alt { - :: get_k {= get_k_seen = true =} - :: s_ok {= s_ok_seen = true =} - :: s_nok {= s_nok_seen = true =} - :: s_dk {= s_dk_seen = true =} - :: s_restart {= s_restart_seen = true =} - :: r_ok {= r_ok_seen = true =} - :: r_timeout {= r_timeout_seen = true =} - }; - Observer() -} - -par { -:: Sender() -:: Receiver() -:: ChannelK() -:: ChannelL() -:: Observer() -} diff --git a/examples/jani-examples/brp.modest.txt b/examples/jani-examples/brp.modest.txt deleted file mode 100755 index 6ec6b0c5e..000000000 --- a/examples/jani-examples/brp.modest.txt +++ /dev/null @@ -1,63 +0,0 @@ -Peak memory usage: 40 MB -Analysis results for brp.modest - -+ State space exploration - States: 3959 - Transitions: 4244 - Branches: 4593 - Time: 0.1 s - Rate: 73315 states/s - -+ P_A - Probability: 0 - Time: 0.1 s - - + Value iteration - Final error: 0 - Iterations: 1 - Time: 0.0 s - -+ P_B - Probability: 0 - Time: 0.0 s - - + Value iteration - Final error: 0 - Iterations: 1 - Time: 0.0 s - -+ P_1 - Probability: 0.000423333443357766 - Time: 0.0 s - - + Value iteration - Final error: 2.35005704803786E-07 - Iterations: 13 - Time: 0.0 s - -+ P_2 - Probability: 2.64530890961023E-05 - Time: 0.0 s - - + Value iteration - Final error: 2.05561452068843E-07 - Iterations: 14 - Time: 0.0 s - -+ P_3 - Probability: 0.000185191226393368 - Time: 0.0 s - - + Value iteration - Final error: 3.32462409056221E-07 - Iterations: 13 - Time: 0.0 s - -+ P_4 - Probability: 8E-06 - Time: 0.0 s - - + Value iteration - Final error: 0 - Iterations: 2 - Time: 0.0 s diff --git a/examples/jani-examples/consensus-6.jani b/examples/jani-examples/consensus-6.jani deleted file mode 100755 index 58acabfef..000000000 --- a/examples/jani-examples/consensus-6.jani +++ /dev/null @@ -1,2129 +0,0 @@ -{ - "jani-version": 1, - "name": "modelName", - "type": "mdp", - "actions": [ - { - "name": "done" - } - ], - "variables": [ - { - "name": "counter", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 60 - }, - "initial-value": 30 - }, - { - "name": "fin1", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 1 - }, - "initial-value": 0 - }, - { - "name": "fin2", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 1 - }, - "initial-value": 0 - }, - { - "name": "fin3", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 1 - }, - "initial-value": 0 - }, - { - "name": "fin4", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 1 - }, - "initial-value": 0 - }, - { - "name": "fin5", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 1 - }, - "initial-value": 0 - }, - { - "name": "fin6", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 1 - }, - "initial-value": 0 - }, - { - "name": "coin1", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 1 - }, - "initial-value": 0 - }, - { - "name": "coin2", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 1 - }, - "initial-value": 0 - }, - { - "name": "coin3", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 1 - }, - "initial-value": 0 - }, - { - "name": "coin4", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 1 - }, - "initial-value": 0 - }, - { - "name": "coin5", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 1 - }, - "initial-value": 0 - }, - { - "name": "coin6", - "type": { - "kind": "bounded", - "base": "int", - "lower-bound": 0, - "upper-bound": 1 - }, - "initial-value": 0 - } - ], - "rewards": [ - { - "name": "coin_flips" - } - ], - "properties": [ - { - "name": "C1", - "bound": 1, - "op": "≥", - "reach": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "=", - "args": [ - "fin1", - 1 - ] - }, - { - "op": "=", - "args": [ - "fin2", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - "fin3", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - "fin4", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - "fin5", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - "fin6", - 1 - ] - } - ] - }, - "type": "probability-comparison" - }, - { - "name": "C2", - "reach": { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "∧", - "args": [ - { - "op": "=", - "args": [ - "fin1", - 1 - ] - }, - { - "op": "=", - "args": [ - "fin2", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - "fin3", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - "fin4", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - "fin5", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - "fin6", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - "coin1", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - "coin2", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - "coin3", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - "coin4", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - "coin5", - 1 - ] - } - ] - }, - { - "op": "=", - "args": [ - "coin6", - 1 - ] - } - ] - }, - "type": "probability-min-query" - } - ], - "automata": [ - { - "name": "Tourist1", - "variables": [], - "locations": [ - { - "name": "l_0" - }, - { - "name": "l_1" - }, - { - "name": "l_2" - }, - { - "name": "l_3" - } - ], - "initial-location": "l_0", - "edges": [ - { - "location": "l_0", - "guard": true, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin1", - "value": 0 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin1", - "value": 1 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_1", - "guard": { - "op": "∧", - "args": [ - { - "op": "=", - "args": [ - "coin1", - 0 - ] - }, - { - "op": ">", - "args": [ - "counter", - 0 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "counter", - "value": { - "op": "-", - "args": [ - "counter", - 1 - ] - } - } - ] - } - ] - }, - { - "location": "l_1", - "guard": { - "op": "∧", - "args": [ - { - "op": "=", - "args": [ - "coin1", - 1 - ] - }, - { - "op": "<", - "args": [ - "counter", - 60 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "counter", - "value": { - "op": "+", - "args": [ - "counter", - 1 - ] - } - }, - { - "ref": "coin1", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "≤", - "args": [ - "counter", - 6 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "coin1", - "value": 0 - }, - { - "ref": "fin1", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "≥", - "args": [ - "counter", - 54 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "coin1", - "value": 1 - }, - { - "ref": "fin1", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "∧", - "args": [ - { - "op": ">", - "args": [ - "counter", - 6 - ] - }, - { - "op": "<", - "args": [ - "counter", - 54 - ] - } - ] - }, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin1", - "value": 0 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin1", - "value": 1 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_3", - "action": "done", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_3" - } - ] - } - ] - }, - { - "name": "Tourist2", - "variables": [], - "locations": [ - { - "name": "l_0" - }, - { - "name": "l_1" - }, - { - "name": "l_2" - }, - { - "name": "l_3" - } - ], - "initial-location": "l_0", - "edges": [ - { - "location": "l_0", - "guard": true, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin2", - "value": 0 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin2", - "value": 1 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_1", - "guard": { - "op": "∧", - "args": [ - { - "op": "=", - "args": [ - "coin2", - 0 - ] - }, - { - "op": ">", - "args": [ - "counter", - 0 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "counter", - "value": { - "op": "-", - "args": [ - "counter", - 1 - ] - } - } - ] - } - ] - }, - { - "location": "l_1", - "guard": { - "op": "∧", - "args": [ - { - "op": "=", - "args": [ - "coin2", - 1 - ] - }, - { - "op": "<", - "args": [ - "counter", - 60 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "counter", - "value": { - "op": "+", - "args": [ - "counter", - 1 - ] - } - }, - { - "ref": "coin2", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "≤", - "args": [ - "counter", - 6 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "coin2", - "value": 0 - }, - { - "ref": "fin2", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "≥", - "args": [ - "counter", - 54 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "coin2", - "value": 1 - }, - { - "ref": "fin2", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "∧", - "args": [ - { - "op": ">", - "args": [ - "counter", - 6 - ] - }, - { - "op": "<", - "args": [ - "counter", - 54 - ] - } - ] - }, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin2", - "value": 0 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin2", - "value": 1 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_3", - "action": "done", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_3" - } - ] - } - ] - }, - { - "name": "Tourist3", - "variables": [], - "locations": [ - { - "name": "l_0" - }, - { - "name": "l_1" - }, - { - "name": "l_2" - }, - { - "name": "l_3" - } - ], - "initial-location": "l_0", - "edges": [ - { - "location": "l_0", - "guard": true, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin3", - "value": 0 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin3", - "value": 1 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_1", - "guard": { - "op": "∧", - "args": [ - { - "op": "=", - "args": [ - "coin3", - 0 - ] - }, - { - "op": ">", - "args": [ - "counter", - 0 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "counter", - "value": { - "op": "-", - "args": [ - "counter", - 1 - ] - } - } - ] - } - ] - }, - { - "location": "l_1", - "guard": { - "op": "∧", - "args": [ - { - "op": "=", - "args": [ - "coin3", - 1 - ] - }, - { - "op": "<", - "args": [ - "counter", - 60 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "counter", - "value": { - "op": "+", - "args": [ - "counter", - 1 - ] - } - }, - { - "ref": "coin3", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "≤", - "args": [ - "counter", - 6 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "coin3", - "value": 0 - }, - { - "ref": "fin3", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "≥", - "args": [ - "counter", - 54 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "coin3", - "value": 1 - }, - { - "ref": "fin3", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "∧", - "args": [ - { - "op": ">", - "args": [ - "counter", - 6 - ] - }, - { - "op": "<", - "args": [ - "counter", - 54 - ] - } - ] - }, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin3", - "value": 0 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin3", - "value": 1 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_3", - "action": "done", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_3" - } - ] - } - ] - }, - { - "name": "Tourist4", - "variables": [], - "locations": [ - { - "name": "l_0" - }, - { - "name": "l_1" - }, - { - "name": "l_2" - }, - { - "name": "l_3" - } - ], - "initial-location": "l_0", - "edges": [ - { - "location": "l_0", - "guard": true, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin4", - "value": 0 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin4", - "value": 1 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_1", - "guard": { - "op": "∧", - "args": [ - { - "op": "=", - "args": [ - "coin4", - 0 - ] - }, - { - "op": ">", - "args": [ - "counter", - 0 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "counter", - "value": { - "op": "-", - "args": [ - "counter", - 1 - ] - } - } - ] - } - ] - }, - { - "location": "l_1", - "guard": { - "op": "∧", - "args": [ - { - "op": "=", - "args": [ - "coin4", - 1 - ] - }, - { - "op": "<", - "args": [ - "counter", - 60 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "counter", - "value": { - "op": "+", - "args": [ - "counter", - 1 - ] - } - }, - { - "ref": "coin4", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "≤", - "args": [ - "counter", - 6 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "coin4", - "value": 0 - }, - { - "ref": "fin4", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "≥", - "args": [ - "counter", - 54 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "coin4", - "value": 1 - }, - { - "ref": "fin4", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "∧", - "args": [ - { - "op": ">", - "args": [ - "counter", - 6 - ] - }, - { - "op": "<", - "args": [ - "counter", - 54 - ] - } - ] - }, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin4", - "value": 0 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin4", - "value": 1 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_3", - "action": "done", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_3" - } - ] - } - ] - }, - { - "name": "Tourist5", - "variables": [], - "locations": [ - { - "name": "l_0" - }, - { - "name": "l_1" - }, - { - "name": "l_2" - }, - { - "name": "l_3" - } - ], - "initial-location": "l_0", - "edges": [ - { - "location": "l_0", - "guard": true, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin5", - "value": 0 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin5", - "value": 1 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_1", - "guard": { - "op": "∧", - "args": [ - { - "op": "=", - "args": [ - "coin5", - 0 - ] - }, - { - "op": ">", - "args": [ - "counter", - 0 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "counter", - "value": { - "op": "-", - "args": [ - "counter", - 1 - ] - } - } - ] - } - ] - }, - { - "location": "l_1", - "guard": { - "op": "∧", - "args": [ - { - "op": "=", - "args": [ - "coin5", - 1 - ] - }, - { - "op": "<", - "args": [ - "counter", - 60 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "counter", - "value": { - "op": "+", - "args": [ - "counter", - 1 - ] - } - }, - { - "ref": "coin5", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "≤", - "args": [ - "counter", - 6 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "coin5", - "value": 0 - }, - { - "ref": "fin5", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "≥", - "args": [ - "counter", - 54 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "coin5", - "value": 1 - }, - { - "ref": "fin5", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "∧", - "args": [ - { - "op": ">", - "args": [ - "counter", - 6 - ] - }, - { - "op": "<", - "args": [ - "counter", - 54 - ] - } - ] - }, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin5", - "value": 0 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin5", - "value": 1 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_3", - "action": "done", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_3" - } - ] - } - ] - }, - { - "name": "Tourist6", - "variables": [], - "locations": [ - { - "name": "l_0" - }, - { - "name": "l_1" - }, - { - "name": "l_2" - }, - { - "name": "l_3" - } - ], - "initial-location": "l_0", - "edges": [ - { - "location": "l_0", - "guard": true, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin6", - "value": 0 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin6", - "value": 1 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_1", - "guard": { - "op": "∧", - "args": [ - { - "op": "=", - "args": [ - "coin6", - 0 - ] - }, - { - "op": ">", - "args": [ - "counter", - 0 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "counter", - "value": { - "op": "-", - "args": [ - "counter", - 1 - ] - } - } - ] - } - ] - }, - { - "location": "l_1", - "guard": { - "op": "∧", - "args": [ - { - "op": "=", - "args": [ - "coin6", - 1 - ] - }, - { - "op": "<", - "args": [ - "counter", - 60 - ] - } - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_2", - "assignments": [ - { - "ref": "counter", - "value": { - "op": "+", - "args": [ - "counter", - 1 - ] - } - }, - { - "ref": "coin6", - "value": 0 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "≤", - "args": [ - "counter", - 6 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "coin6", - "value": 0 - }, - { - "ref": "fin6", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "≥", - "args": [ - "counter", - 54 - ] - }, - "destinations": [ - { - "probability": 1, - "location": "l_3", - "assignments": [ - { - "ref": "coin6", - "value": 1 - }, - { - "ref": "fin6", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_2", - "guard": { - "op": "∧", - "args": [ - { - "op": ">", - "args": [ - "counter", - 6 - ] - }, - { - "op": "<", - "args": [ - "counter", - 54 - ] - } - ] - }, - "destinations": [ - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin6", - "value": 0 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - }, - { - "probability": { - "op": "/", - "args": [ - 1, - 2 - ] - }, - "location": "l_1", - "assignments": [ - { - "ref": "coin6", - "value": 1 - } - ], - "reward": [ - { - "ref": "coin_flips", - "value": 1 - } - ] - } - ] - }, - { - "location": "l_3", - "action": "done", - "guard": true, - "destinations": [ - { - "probability": 1, - "location": "l_3" - } - ] - } - ] - } - ], - "system": { - "composition": "parallel", - "elements": [ - { - "composition": "parallel", - "elements": [ - { - "composition": "parallel", - "elements": [ - { - "composition": "parallel", - "elements": [ - { - "composition": "parallel", - "elements": [ - "Tourist1", - "Tourist2" - ], - "alphabet": [ - "done" - ] - }, - "Tourist3" - ], - "alphabet": [ - "done" - ] - }, - "Tourist4" - ], - "alphabet": [ - "done" - ] - }, - "Tourist5" - ], - "alphabet": [ - "done" - ] - }, - "Tourist6" - ], - "alphabet": [ - "done" - ] - } -} \ No newline at end of file diff --git a/examples/jani-examples/consensus-6.jani.txt b/examples/jani-examples/consensus-6.jani.txt deleted file mode 100755 index 17509db20..000000000 --- a/examples/jani-examples/consensus-6.jani.txt +++ /dev/null @@ -1,27 +0,0 @@ -Peak memory usage: 530 MB -Analysis results for consensus-6.jani - -+ State space exploration - States: 2345194 - Transitions: 9418584 - Branches: 13891248 - Time: 8.7 s - Rate: 270964 states/s - -+ C1 - Result: True - Time for min. prob. 0 states: 1.6 s - Time for min. prob. 1 states: 0.1 s - Time: 1.7 s - Min. probability: 1 - -+ C2 - Probability: 0.395776147642961 - Time for min. prob. 0 states: 2.0 s - Time for min. prob. 1 states: 0.1 s - Time: 125.8 s - - + Value iteration - Final error: 9.96634356860147E-07 - Iterations: 2137 - Time: 123.8 s diff --git a/examples/jani-examples/consensus-6.modest b/examples/jani-examples/consensus-6.modest deleted file mode 100755 index 6b129af06..000000000 --- a/examples/jani-examples/consensus-6.modest +++ /dev/null @@ -1,157 +0,0 @@ -// Modest version of http://www.prismmodelchecker.org/casestudies/consensus_prism.php -// Command line: mcsta.exe consensus-6.modest -S Memory --nochainopt --bounded-alg StateElimination -E "K=2" - -action done; - -// constants -const int N = 6; -const int K = 4; -const int range = 2 * (K + 1) * N; -const int counter_init = (K + 1) * N; -const int left = N; -const int right = 2 * (K + 1) * N - N; - -// shared coin -int(0..range) counter = counter_init; -reward coin_flips; - -property C1 = P(<> (fin1 == 1 && fin2 == 1 && fin3 == 1 && fin4 == 1 && fin5 == 1 && fin6 == 1)) >= 1; -property C2 = Pmin(<> (fin1 == 1 && fin2 == 1 && fin3 == 1 && fin4 == 1 && fin5 == 1 && fin6 == 1 && coin1 == 1 && coin2 == 1 && coin3 == 1 && coin4 == 1 && coin5 == 1 && coin6 == 1)); - -int(0..1) fin1, fin2, fin3, fin4, fin5, fin6; -int(0..1) coin1, coin2, coin3, coin4, coin5, coin6; - -process Tourist1() -{ - process Flip() { palt { :1: {= coin1 = 0, coin_flips++ =} :1: {= coin1 = 1, coin_flips++ =} }; Write() } - process Write() { - alt { - :: when(coin1 == 0 && counter > 0) {= counter-- =}; Check() - :: when(coin1 == 1 && counter < range) {= counter++, coin1 = 0 =}; Check() - } - } - process Check() { - alt { - :: when(counter <= left) {= coin1 = 0, fin1 = 1 =}; Finished() - :: when(counter >= right) {= coin1 = 1, fin1 = 1 =}; Finished() - :: when(counter > left && counter < right) Tourist1() - } - } - process Finished() { done; Finished() } - - Flip() -} - -process Tourist2() -{ - process Flip() { palt { :1: {= coin2 = 0, coin_flips++ =} :1: {= coin2 = 1, coin_flips++ =} }; Write() } - process Write() { - alt { - :: when(coin2 == 0 && counter > 0) {= counter-- =}; Check() - :: when(coin2 == 1 && counter < range) {= counter++, coin2 = 0 =}; Check() - } - } - process Check() { - alt { - :: when(counter <= left) {= coin2 = 0, fin2 = 1 =}; Finished() - :: when(counter >= right) {= coin2 = 1, fin2 = 1 =}; Finished() - :: when(counter > left && counter < right) Tourist2() - } - } - process Finished() { done; Finished() } - - Flip() -} - -process Tourist3() -{ - process Flip() { palt { :1: {= coin3 = 0, coin_flips++ =} :1: {= coin3 = 1, coin_flips++ =} }; Write() } - process Write() { - alt { - :: when(coin3 == 0 && counter > 0) {= counter-- =}; Check() - :: when(coin3 == 1 && counter < range) {= counter++, coin3 = 0 =}; Check() - } - } - process Check() { - alt { - :: when(counter <= left) {= coin3 = 0, fin3 = 1 =}; Finished() - :: when(counter >= right) {= coin3 = 1, fin3 = 1 =}; Finished() - :: when(counter > left && counter < right) Tourist3() - } - } - process Finished() { done; Finished() } - - Flip() -} - -process Tourist4() -{ - process Flip() { palt { :1: {= coin4 = 0, coin_flips++ =} :1: {= coin4 = 1, coin_flips++ =} }; Write() } - process Write() { - alt { - :: when(coin4 == 0 && counter > 0) {= counter-- =}; Check() - :: when(coin4 == 1 && counter < range) {= counter++, coin4 = 0 =}; Check() - } - } - process Check() { - alt { - :: when(counter <= left) {= coin4 = 0, fin4 = 1 =}; Finished() - :: when(counter >= right) {= coin4 = 1, fin4 = 1 =}; Finished() - :: when(counter > left && counter < right) Tourist4() - } - } - process Finished() { done; Finished() } - - Flip() -} - -process Tourist5() -{ - process Flip() { palt { :1: {= coin5 = 0, coin_flips++ =} :1: {= coin5 = 1, coin_flips++ =} }; Write() } - process Write() { - alt { - :: when(coin5 == 0 && counter > 0) {= counter-- =}; Check() - :: when(coin5 == 1 && counter < range) {= counter++, coin5 = 0 =}; Check() - } - } - process Check() { - alt { - :: when(counter <= left) {= coin5 = 0, fin5 = 1 =}; Finished() - :: when(counter >= right) {= coin5 = 1, fin5 = 1 =}; Finished() - :: when(counter > left && counter < right) Tourist5() - } - } - process Finished() { done; Finished() } - - Flip() -} - -process Tourist6() -{ - process Flip() { palt { :1: {= coin6 = 0, coin_flips++ =} :1: {= coin6 = 1, coin_flips++ =} }; Write() } - process Write() { - alt { - :: when(coin6 == 0 && counter > 0) {= counter-- =}; Check() - :: when(coin6 == 1 && counter < range) {= counter++, coin6 = 0 =}; Check() - } - } - process Check() { - alt { - :: when(counter <= left) {= coin6 = 0, fin6 = 1 =}; Finished() - :: when(counter >= right) {= coin6 = 1, fin6 = 1 =}; Finished() - :: when(counter > left && counter < right) Tourist6() - } - } - process Finished() { done; Finished() } - - Flip() -} - -par { -:: Tourist1() -:: Tourist2() -:: Tourist3() -:: Tourist4() -:: Tourist5() -:: Tourist6() -} diff --git a/examples/jani-examples/consensus-6.modest.txt b/examples/jani-examples/consensus-6.modest.txt deleted file mode 100755 index 3ff5c0821..000000000 --- a/examples/jani-examples/consensus-6.modest.txt +++ /dev/null @@ -1,27 +0,0 @@ -Peak memory usage: 531 MB -Analysis results for consensus-6.modest - -+ State space exploration - States: 2345194 - Transitions: 9418584 - Branches: 13891248 - Time: 8.2 s - Rate: 287507 states/s - -+ C1 - Result: True - Time for min. prob. 0 states: 1.5 s - Time for min. prob. 1 states: 0.2 s - Time: 1.7 s - Min. probability: 1 - -+ C2 - Probability: 0.395776147642961 - Time for min. prob. 0 states: 2.0 s - Time for min. prob. 1 states: 0.1 s - Time: 126.8 s - - + Value iteration - Final error: 9.96634356860147E-07 - Iterations: 2137 - Time: 124.7 s diff --git a/examples/jani-examples/dice.jani b/examples/jani-examples/dice.jani deleted file mode 100755 index e9e377e15..000000000 --- a/examples/jani-examples/dice.jani +++ /dev/null @@ -1,354 +0,0 @@ -{ - "jani-version": 1, - "name": "dice", - "type" : "mdp", - "actions" : [], - "variables" : [ - { - "name": "thrownSix", - "type": "bool", - "initial-value": false - }, - { - "name": "terminated", - "type": "bool", - "initial-value": false - } - ], - "rewards" : [ - { - "name" : "step" - } - ], - "properties" : [ - { - "name" : "ProbThrowSix", - "reach" : "thrownSix", - "type": "probability-max-query" - }, - { - "name" : "StepsUntilReach", - "reach" : "terminated", - "reward": "step", - "type": "expected-reachability-reward-max-query" - } - ], - "automata" : [ - { - "name" : "dice", - "variables" : [ - { - "name" : "d", - "type" : { - "kind": "bounded", - "base": "int", - "lower-bound" : 0, - "upper-bound" : 6 - }, - "initial-value" : 0 - } - ], - "locations" : [ - { - "name" : "s0" - }, - { - "name" : "s1" - }, - { - "name" : "s2" - }, - { - "name" : "s3" - }, - { - "name" : "s4" - }, - { - "name" : "s5" - }, - { - "name" : "s6" - }, - { - "name" : "s7" - } - ], - "initial-location" : "s0", - "edges" : [ - { - "location" : "s0", - "guard" : true, - "destinations" : [ - { - "probability" : 0.5, - "location" : "s1", - "assignments" : [], - "rewards" : [ - { - "ref" : "step", - "value" : 1 - } - ] - }, - { - "probability" : 0.5, - "location" : "s2", - "assignments" : [], - "rewards" : [ - { - "ref" : "step", - "value" : 1 - } - ] - } - ] - }, - { - "location" : "s1", - "guard" : true, - "destinations" : [ - { - "probability" : 0.5, - "location" : "s3", - "assignments" : [], - "rewards" : [ - { - "ref" : "step", - "value" : 1 - } - ] - }, - { - "probability" : 0.5, - "location" : "s4", - "assignments" : [], - "rewards" : [ - { - "ref" : "step", - "value" : 1 - } - ] - } - ] - }, - { - "location" : "s2", - "guard" : true, - "destinations" : [ - { - "probability" : 0.5, - "location" : "s5", - "assignments" : [], - "rewards" : [ - { - "ref" : "step", - "value" : 1 - } - ] - }, - { - "probability" : 0.5, - "location" : "s6", - "assignments" : [], - "rewards" : [ - { - "ref" : "step", - "value" : 1 - } - ] - } - ] - }, - { - "location" : "s3", - "guard" : true, - "destinations" : [ - { - "probability" : 0.5, - "location" : "s1", - "assignments" : [], - "rewards" : [ - { - "ref" : "step", - "value" : 1 - } - ] - }, - { - "probability" : 0.5, - "location" : "s7", - "assignments" : [ - { - "ref" : "d", - "value" : 1 - }, - { - "ref" : "terminated", - "value" : true - } - ], - "rewards" : [ - { - "ref" : "step", - "value" : 1 - } - ] - } - ] - }, - { - "location" : "s4", - "guard" : true, - "destinations" : [ - { - "probability" : 0.5, - "location" : "s7", - "assignments" : [ - { - "ref" : "d", - "value" : 2 - }, - { - "ref" : "terminated", - "value" : true - } - ], - "rewards" : [ - { - "ref" : "step", - "value" : 1 - } - ] - }, - { - "probability" : 0.5, - "location" : "s7", - "assignments" : [ - { - "ref" : "d", - "value" : 3 - }, - { - "ref" : "terminated", - "value" : true - } - ], - "rewards" : [ - { - "ref" : "step", - "value" : 1 - } - ] - } - ] - }, - { - "location" : "s5", - "guard" : true, - "destinations" : [ - { - "probability" : 0.5, - "location" : "s7", - "assignments" : [ - { - "ref" : "d", - "value" : 4 - }, - { - "ref" : "terminated", - "value" : true - } - ], - "rewards" : [ - { - "ref" : "step", - "value" : 1 - } - ] - }, - { - "probability" : 0.5, - "location" : "s7", - "assignments" : [ - { - "ref" : "d", - "value" : 5 - }, - { - "ref" : "terminated", - "value" : true - } - ], - "rewards" : [ - { - "ref" : "step", - "value" : 1 - } - ] - } - ] - }, - { - "location" : "s6", - "guard" : true, - "destinations" : [ - { - "probability" : 0.5, - "location" : "s2", - "assignments" : [], - "rewards" : [ - { - "ref" : "step", - "value" : 1 - } - ] - }, - { - "probability" : 0.5, - "location" : "s7", - "assignments" : [ - { - "ref" : "d", - "value" : 6 - }, - { - "ref" : "thrownSix", - "value" : true - }, - { - "ref" : "terminated", - "value" : true - } - ], - "rewards" : [ - { - "ref" : "step", - "value" : 1 - } - ] - } - ] - }, - { - "location" : "s7", - "guard" : true, - "destinations" : [ - { - "probability" : 1, - "location" : "s7", - "assignments" : [], - "rewards" : [ - { - "ref" : "step", - "value" : 1 - } - ] - } - ] - } - ] - } - ], - "system" : "dice" -} diff --git a/examples/jani-examples/dice.jani.txt b/examples/jani-examples/dice.jani.txt deleted file mode 100755 index 2cf07a5ed..000000000 --- a/examples/jani-examples/dice.jani.txt +++ /dev/null @@ -1,29 +0,0 @@ -Peak memory usage: 36 MB -Analysis results for dice.jani - -+ State space exploration - States: 8 - Transitions: 8 - Branches: 14 - Time: 0.0 s - Rate: 190 states/s - -+ ProbThrowSix - Probability: 0.166666626930237 - Time: 0.0 s - - + Value iteration - Final error: 7.15255907834985E-07 - Iterations: 11 - Time: 0.0 s - -+ StepsUntilReach - Value: 3.66666650772095 - Time for min. prob. 0 states: 0.0 s - Time for min. prob. 1 states: 0.0 s - Time: 0.0 s - - + Value iteration - Final error: 4.08717619857464E-07 - Iterations: 12 - Time: 0.0 s diff --git a/src/parser/JaniParser.cpp b/src/parser/JaniParser.cpp index 83b4739ab..ef52aba7e 100644 --- a/src/parser/JaniParser.cpp +++ b/src/parser/JaniParser.cpp @@ -70,9 +70,19 @@ namespace storm { storm::jani::Model model(name, type, version); STORM_LOG_THROW(parsedStructure.count("actions") < 2, storm::exceptions::InvalidJaniException, "Action-declarations can be given at most once."); parseActions(parsedStructure.at("actions"), model); - STORM_LOG_THROW(parsedStructure.count("variables") < 2, storm::exceptions::InvalidJaniException, "Variable-declarations can be given at most once for global variables."); - for(auto const& varStructure : parsedStructure.at("variables")) { - parseVariable(varStructure, "global"); + size_t constantsCount = parsedStructure.count("constants"); + STORM_LOG_THROW(constantsCount < 2, storm::exceptions::InvalidJaniException, "Constant-declarations can be given at most once."); + if(constantsCount == 1) { + for (auto const &constStructure : parsedStructure.at("constants")) { + parseConstant(constStructure, "global"); + } + } + size_t variablesCount = parsedStructure.count("variables"); + STORM_LOG_THROW(variablesCount < 2, storm::exceptions::InvalidJaniException, "Variable-declarations can be given at most once for global variables."); + if(variablesCount == 1) { + for(auto const& varStructure : parsedStructure.at("variables")) { + parseVariable(varStructure, "global"); + } } STORM_LOG_THROW(parsedStructure.count("automata") == 1, storm::exceptions::InvalidJaniException, "Exactly one list of automata must be given"); STORM_LOG_THROW(parsedStructure.at("automata").is_array(), storm::exceptions::InvalidJaniException, "Automata must be an array"); @@ -87,36 +97,81 @@ namespace storm { return model; } - std::shared_ptr JaniParser::parseVariable(json const &variableStructure, std::string const& scopeDescription, bool prefWithScope) { - STORM_LOG_THROW(variableStructure.count("name") == 1, storm::exceptions::InvalidJaniException, "Variable (scope: " + scopeDescription + ") must have a name"); - std::string pref = prefWithScope ? scopeDescription + "." : ""; - std::string name = getString(variableStructure.at("name"), "variable-name in " + scopeDescription + "-scope"); + std::shared_ptr JaniParser::parseConstant(json const& constantStructure, std::string const& scopeDescription) { + STORM_LOG_THROW(constantStructure.count("name") == 1, storm::exceptions::InvalidJaniException, "Variable (scope: " + scopeDescription + ") must have a name"); + std::string name = getString(constantStructure.at("name"), "variable-name in " + scopeDescription + "-scope"); // TODO check existance of name. // TODO store prefix in variable. - std::string exprManagerName = pref + name; - STORM_LOG_THROW(variableStructure.count("type") == 1, storm::exceptions::InvalidJaniException, "Variable '" + name + "' (scope: " + scopeDescription + ") must have a (single) type-declaration."); - // TODO DEPRECATED make initial value optional? --- still present in files, so keep it for now - STORM_LOG_THROW(variableStructure.count("initial-value") == 1, storm::exceptions::InvalidJaniException, "Initial value for variable '" + name + "' + (scope: " + scopeDescription + ") must be given once."); - // Read initial value before; that makes creation later on a bit easier, and has as an additional benefit that we do not need to check whether the variable occurs also on the assignment. - storm::expressions::Expression initExpr = parseExpression(variableStructure.at("initial-value"), "Initial value of variable " + name + " (scope: " + scopeDescription + ")"); - assert(initExpr.isInitialized()); - if(variableStructure.at("type").is_string()) { - if(variableStructure.at("type") == "real") { + std::string exprManagerName = name; + STORM_LOG_THROW(constantStructure.count("type") == 1, storm::exceptions::InvalidJaniException, "Constant '" + name + "' (scope: " + scopeDescription + ") must have a (single) type-declaration."); + size_t valueCount = constantStructure.count("value"); + storm::expressions::Expression initExpr; + STORM_LOG_THROW(valueCount < 2, storm::exceptions::InvalidJaniException, "Value for constant '" + name + "' (scope: " + scopeDescription + ") must be given at most once."); + if(valueCount == 1) { + // Read initial value before; that makes creation later on a bit easier, and has as an additional benefit that we do not need to check whether the variable occurs also on the assignment. + initExpr = parseExpression(constantStructure.at("value"), "Value of constant " + name + " (scope: " + scopeDescription + ")"); + assert(initExpr.isInitialized()); + } + + if(constantStructure.at("type").is_object()) { +// STORM_LOG_THROW(variableStructure.at("type").count("kind") == 1, storm::exceptions::InvalidJaniException, "For complex type as in variable " << name << "(scope: " << scopeDescription << ") kind must be given"); +// std::string kind = getString(variableStructure.at("type").at("kind"), "kind for complex type as in variable " + name + "(scope: " + scopeDescription + ") "); +// if(kind == "bounded") { +// // First do the bounds, that makes the code a bit more streamlined +// STORM_LOG_THROW(variableStructure.at("type").count("lower-bound") == 1, storm::exceptions::InvalidJaniException, "For bounded type as in variable " << name << "(scope: " << scopeDescription << ") lower-bound must be given"); +// storm::expressions::Expression lowerboundExpr = parseExpression(variableStructure.at("type").at("lower-bound"), "Lower bound for variable "+ name + " (scope: " + scopeDescription + ")"); +// assert(lowerboundExpr.isInitialized()); +// STORM_LOG_THROW(variableStructure.at("type").count("upper-bound") == 1, storm::exceptions::InvalidJaniException, "For bounded type as in variable " << name << "(scope: " << scopeDescription << ") upper-bound must be given"); +// storm::expressions::Expression upperboundExpr = parseExpression(variableStructure.at("type").at("upper-bound"), "Upper bound for variable "+ name + " (scope: " + scopeDescription + ")"); +// assert(upperboundExpr.isInitialized()); +// STORM_LOG_THROW(variableStructure.at("type").count("base") == 1, storm::exceptions::InvalidJaniException, "For bounded type as in variable " << name << "(scope: " << scopeDescription << ") base must be given"); +// std::string basictype = getString(variableStructure.at("type").at("base"), "base for bounded type as in variable " + name + "(scope: " + scopeDescription + ") "); +// if(basictype == "int") { +// STORM_LOG_THROW(lowerboundExpr.hasIntegerType(), storm::exceptions::InvalidJaniException, "Lower bound for bounded integer variable " << name << "(scope: " << scopeDescription << ") must be integer-typed"); +// STORM_LOG_THROW(upperboundExpr.hasIntegerType(), storm::exceptions::InvalidJaniException, "Upper bound for bounded integer variable " << name << "(scope: " << scopeDescription << ") must be integer-typed"); +// return std::make_shared(name, expressionManager->declareIntegerVariable(exprManagerName), lowerboundExpr, upperboundExpr); +// } else { +// STORM_LOG_THROW(false, storm::exceptions::InvalidJaniException, "Unsupported base " << basictype << " for bounded variable " << name << "(scope: " << scopeDescription << ") "); +// } +// } else { +// STORM_LOG_THROW(false, storm::exceptions::InvalidJaniException, "Unsupported kind " << kind << " for complex type of variable " << name << "(scope: " << scopeDescription << ") "); +// } + } + else if(constantStructure.at("type").is_string()) { + if(constantStructure.at("type") == "real") { // expressionManager->declareRationalVariable(name); // TODO something. - } else if(variableStructure.at("type") == "bool") { - STORM_LOG_THROW(initExpr.hasBooleanType(), storm::exceptions::InvalidJaniException, "Initial value for Boolean variable " << name << " (scope: " << scopeDescription << ") should have Boolean type."); - // TODO: reenable and put initExpr in the place where it belongs. -// return std::make_shared(name, expressionManager->declareBooleanVariable(exprManagerName), initExpr); - } else if(variableStructure.at("type") == "int") { - STORM_LOG_THROW(initExpr.hasIntegerType(), storm::exceptions::InvalidJaniException, "Initial value for interger variable " << name << " (scope: " << scopeDescription << ") should have integer type."); - // TODO: reenable and put initExpr in the place where it belongs. -// return std::make_shared(name, expressionManager->declareIntegerVariable(exprManagerName), initExpr); + } else if(constantStructure.at("type") == "bool") { + if(initExpr.isInitialized()) { + return std::make_shared(name, expressionManager->declareBooleanVariable(exprManagerName), initExpr); + } else { + return std::make_shared(name, expressionManager->declareBooleanVariable(exprManagerName)); + } + + } else if(constantStructure.at("type") == "int") { + if(initExpr.isInitialized()) { + return std::make_shared(name, expressionManager->declareIntegerVariable(exprManagerName), initExpr); + } else { + return std::make_shared(name, expressionManager->declareIntegerVariable(exprManagerName)); + } } else { // TODO clocks. - STORM_LOG_THROW(false, storm::exceptions::InvalidJaniException, "Unknown type description " << variableStructure.at("type").dump() << " for Variable '" << name << "' (scope: " << scopeDescription << ")"); + STORM_LOG_THROW(false, storm::exceptions::InvalidJaniException, "Unknown type description " << constantStructure.at("type").dump() << " for Variable '" << name << "' (scope: " << scopeDescription << ")"); } } + + STORM_LOG_THROW(false, storm::exceptions::InvalidJaniException, "Unknown type description, " << constantStructure.at("type").dump() << " for Variable '" << name << "' (scope: " << scopeDescription << ")"); + } + + std::shared_ptr JaniParser::parseVariable(json const &variableStructure, std::string const& scopeDescription, bool prefWithScope) { + STORM_LOG_THROW(variableStructure.count("name") == 1, storm::exceptions::InvalidJaniException, "Variable (scope: " + scopeDescription + ") must have a name"); + std::string pref = prefWithScope ? scopeDescription + "." : ""; + std::string name = getString(variableStructure.at("name"), "variable-name in " + scopeDescription + "-scope"); + // TODO check existance of name. + // TODO store prefix in variable. + std::string exprManagerName = pref + name; + STORM_LOG_THROW(variableStructure.count("type") == 1, storm::exceptions::InvalidJaniException, "Variable '" + name + "' (scope: " + scopeDescription + ") must have a (single) type-declaration."); + if(variableStructure.at("type").is_object()) { STORM_LOG_THROW(variableStructure.at("type").count("kind") == 1, storm::exceptions::InvalidJaniException, "For complex type as in variable " << name << "(scope: " << scopeDescription << ") kind must be given"); std::string kind = getString(variableStructure.at("type").at("kind"), "kind for complex type as in variable " + name + "(scope: " + scopeDescription + ") "); @@ -133,8 +188,7 @@ namespace storm { if(basictype == "int") { STORM_LOG_THROW(lowerboundExpr.hasIntegerType(), storm::exceptions::InvalidJaniException, "Lower bound for bounded integer variable " << name << "(scope: " << scopeDescription << ") must be integer-typed"); STORM_LOG_THROW(upperboundExpr.hasIntegerType(), storm::exceptions::InvalidJaniException, "Upper bound for bounded integer variable " << name << "(scope: " << scopeDescription << ") must be integer-typed"); - // TODO: reenable and put initExpr in the place where it belongs. -// return std::make_shared(name, expressionManager->declareIntegerVariable(exprManagerName), lowerboundExpr, upperboundExpr, initExpr); + return std::make_shared(name, expressionManager->declareIntegerVariable(exprManagerName), lowerboundExpr, upperboundExpr); } else { STORM_LOG_THROW(false, storm::exceptions::InvalidJaniException, "Unsupported base " << basictype << " for bounded variable " << name << "(scope: " << scopeDescription << ") "); } @@ -142,6 +196,20 @@ namespace storm { STORM_LOG_THROW(false, storm::exceptions::InvalidJaniException, "Unsupported kind " << kind << " for complex type of variable " << name << "(scope: " << scopeDescription << ") "); } } + else if(variableStructure.at("type").is_string()) { + if(variableStructure.at("type") == "real") { + // expressionManager->declareRationalVariable(name); + // TODO something. + } else if(variableStructure.at("type") == "bool") { + return std::make_shared(name, expressionManager->declareBooleanVariable(exprManagerName)); + } else if(variableStructure.at("type") == "int") { + return std::make_shared(name, expressionManager->declareIntegerVariable(exprManagerName)); + } else { + // TODO clocks. + STORM_LOG_THROW(false, storm::exceptions::InvalidJaniException, "Unknown type description " << variableStructure.at("type").dump() << " for Variable '" << name << "' (scope: " << scopeDescription << ")"); + } + } + STORM_LOG_THROW(false, storm::exceptions::InvalidJaniException, "Unknown type description, " << variableStructure.at("type").dump() << " for Variable '" << name << "' (scope: " << scopeDescription << ")"); } @@ -151,6 +219,17 @@ namespace storm { void ensureNumberOfArguments(uint64_t expected, uint64_t actual, std::string const& opstring, std::string const& errorInfo) { STORM_LOG_THROW(expected == actual, storm::exceptions::InvalidJaniException, "Operator " << opstring << " expects " << expected << " arguments, but got " << actual << " in " << errorInfo << "."); } + + std::vector JaniParser::parseUnaryExpressionArguments(json const& expressionDecl, std::string const& opstring, std::string const& scopeDescription, std::unordered_map> const& localVars) { + storm::expressions::Expression left = parseExpression(expressionDecl.at("exp"), "Left argument of operator " + opstring + " in " + scopeDescription, localVars); + return {left}; + } + + std::vector JaniParser::parseBinaryExpressionArguments(json const& expressionDecl, std::string const& opstring, std::string const& scopeDescription, std::unordered_map> const& localVars) { + storm::expressions::Expression left = parseExpression(expressionDecl.at("left"), "Left argument of operator " + opstring + " in " + scopeDescription, localVars); + storm::expressions::Expression right = parseExpression(expressionDecl.at("right"), "Right argument of operator " + opstring + " in " + scopeDescription, localVars); + return {left, right}; + } /** * Helper for parse expression. */ @@ -190,37 +269,30 @@ namespace storm { } else if(expressionStructure.is_object()) { if(expressionStructure.count("op") == 1) { std::string opstring = getString(expressionStructure.at("op"), scopeDescription); - STORM_LOG_THROW(expressionStructure.count("args") == 1, storm::exceptions::InvalidJaniException, "Operation arguments are not given in " << expressionStructure.dump() << " in " << scopeDescription << "." ); - std::vector arguments; - unsigned i = 1; - for(json const& argStructure : expressionStructure.at("args")) { - arguments.push_back(parseExpression(argStructure, scopeDescription + "in argument " + std::to_string(i), localVars)); - assert(arguments.back().isInitialized()); - ++i; - } + std::vector arguments = {}; if(opstring == "?:") { ensureNumberOfArguments(3, arguments.size(), opstring, scopeDescription); assert(arguments.size() == 3); return storm::expressions::ite(arguments[0], arguments[1], arguments[2]); } else if (opstring == "∨") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureBooleanType(arguments[0], opstring, 0, scopeDescription); ensureBooleanType(arguments[1], opstring, 1, scopeDescription); - assert(arguments.size() == 2); return arguments[0] || arguments[1]; } else if (opstring == "∧") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureBooleanType(arguments[0], opstring, 0, scopeDescription); ensureBooleanType(arguments[1], opstring, 1, scopeDescription); - assert(arguments.size() == 2); return arguments[0] && arguments[1]; - } else if (opstring == "!") { - ensureNumberOfArguments(1, arguments.size(), opstring, scopeDescription); - ensureBooleanType(arguments[0], opstring, 0, scopeDescription); + } else if (opstring == "¬") { + arguments = parseUnaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); assert(arguments.size() == 1); + ensureBooleanType(arguments[0], opstring, 0, scopeDescription); return !arguments[0]; } else if (opstring == "=") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); assert(arguments.size() == 2); if(arguments[0].hasBooleanType()) { ensureBooleanType(arguments[1], opstring, 1, scopeDescription); @@ -230,7 +302,7 @@ namespace storm { return arguments[0] == arguments[1]; } } else if (opstring == "≠") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); assert(arguments.size() == 2); if(arguments[0].hasBooleanType()) { ensureBooleanType(arguments[1], opstring, 1, scopeDescription); @@ -240,100 +312,119 @@ namespace storm { return arguments[0] != arguments[1]; } } else if (opstring == "<") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); ensureNumericalType(arguments[1], opstring, 1, scopeDescription); return arguments[0] < arguments[1]; } else if (opstring == "≤") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); ensureNumericalType(arguments[1], opstring, 1, scopeDescription); return arguments[0] <= arguments[1]; } else if (opstring == ">") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); ensureNumericalType(arguments[1], opstring, 1, scopeDescription); return arguments[0] > arguments[1]; } else if (opstring == "≥") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); ensureNumericalType(arguments[1], opstring, 1, scopeDescription); return arguments[0] >= arguments[1]; } else if (opstring == "+") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); ensureNumericalType(arguments[1], opstring, 1, scopeDescription); return arguments[0] + arguments[1]; } else if (opstring == "-") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); ensureNumericalType(arguments[1], opstring, 1, scopeDescription); return arguments[0] - arguments[1]; } else if (opstring == "--") { - ensureNumberOfArguments(1, arguments.size(), opstring, scopeDescription); - ensureNumericalType(arguments[0], opstring, 0, scopeDescription); + arguments = parseUnaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); assert(arguments.size() == 1); + ensureNumericalType(arguments[0], opstring, 0, scopeDescription); return -arguments[0]; } else if (opstring == "*") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); ensureNumericalType(arguments[1], opstring, 1, scopeDescription); return arguments[0] * arguments[1]; } else if (opstring == "/") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); ensureNumericalType(arguments[1], opstring, 1, scopeDescription); return arguments[0] / arguments[1]; } else if (opstring == "%") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); ensureNumericalType(arguments[1], opstring, 1, scopeDescription); // TODO implement STORM_LOG_THROW(false, storm::exceptions::NotImplementedException, "modulo operation is not yet implemented"); } else if (opstring == "max") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); ensureNumericalType(arguments[1], opstring, 1, scopeDescription); return storm::expressions::maximum(arguments[0],arguments[1]); } else if (opstring == "min") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); ensureNumericalType(arguments[1], opstring, 1, scopeDescription); return storm::expressions::minimum(arguments[0],arguments[1]); } else if (opstring == "⌊⌋") { - ensureNumberOfArguments(1, arguments.size(), opstring, scopeDescription); + arguments = parseUnaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 1); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); return storm::expressions::floor(arguments[0]); } else if (opstring == "⌈⌉") { - ensureNumberOfArguments(1, arguments.size(), opstring, scopeDescription); + arguments = parseUnaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 1); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); return storm::expressions::ceil(arguments[0]); } else if (opstring == "abs") { - ensureNumberOfArguments(1, arguments.size(), opstring, scopeDescription); + arguments = parseUnaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 1); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); return storm::expressions::abs(arguments[0]); } else if (opstring == "sgn") { - ensureNumberOfArguments(1, arguments.size(), opstring, scopeDescription); + arguments = parseUnaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 1); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); return storm::expressions::sign(arguments[0]); } else if (opstring == "trc") { - ensureNumberOfArguments(1, arguments.size(), opstring, scopeDescription); + arguments = parseUnaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 1); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); return storm::expressions::abs(arguments[0]); } else if (opstring == "pow") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); ensureNumericalType(arguments[1], opstring, 1, scopeDescription); // TODO implement STORM_LOG_THROW(false, storm::exceptions::NotImplementedException, "pow operation is not yet implemented"); } else if (opstring == "exp") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); ensureNumericalType(arguments[1], opstring, 1, scopeDescription); // TODO implement STORM_LOG_THROW(false, storm::exceptions::NotImplementedException, "exp operation is not yet implemented"); } else if (opstring == "log") { - ensureNumberOfArguments(2, arguments.size(), opstring, scopeDescription); + arguments = parseBinaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); + assert(arguments.size() == 2); ensureNumericalType(arguments[0], opstring, 0, scopeDescription); ensureNumericalType(arguments[1], opstring, 1, scopeDescription); // TODO implement @@ -409,9 +500,16 @@ namespace storm { STORM_LOG_THROW(rateExpr.hasNumericalType(), storm::exceptions::InvalidJaniException, "Rate '" << rateExpr << "' has not a numerical type"); } // guard - STORM_LOG_THROW(edgeEntry.count("guard") == 1, storm::exceptions::InvalidJaniException, "A single guard must be given in edge from '" << sourceLoc << "' in automaton '" << name << "'"); - storm::expressions::Expression guardExpr = parseExpression(edgeEntry.at("guard"), "guard expression in edge from '" + sourceLoc + "' in automaton '" + name + "'", localVars); - STORM_LOG_THROW(guardExpr.hasBooleanType(), storm::exceptions::InvalidJaniException, "Guard " << guardExpr << " does not have Boolean type."); + STORM_LOG_THROW(edgeEntry.count("guard") <= 1, storm::exceptions::InvalidJaniException, "Guard can be given at most once in edge from '" << sourceLoc << "' in automaton '" << name << "'"); + storm::expressions::Expression guardExpr; + if(edgeEntry.count("guard") == 1) { + STORM_LOG_THROW(edgeEntry.at("guard").count("exp") == 1, storm::exceptions::InvalidJaniException, "Guard in edge from '" + sourceLoc + "' in automaton '" + name + "' must have one expression"); + guardExpr = parseExpression(edgeEntry.at("guard").at("exp"), "guard expression in edge from '" + sourceLoc + "' in automaton '" + name + "'", localVars); + STORM_LOG_THROW(guardExpr.hasBooleanType(), storm::exceptions::InvalidJaniException, "Guard " << guardExpr << " does not have Boolean type."); + } else { + guardExpr = expressionManager->boolean(true); + } + assert(guardExpr.isInitialized()); STORM_LOG_THROW(edgeEntry.count("destinations") == 1, storm::exceptions::InvalidJaniException, "A single list of destinations must be given in edge from '" << sourceLoc << "' in automaton '" << name << "'"); for(auto const& destEntry : edgeEntry.at("destinations")) { // target location @@ -421,14 +519,15 @@ namespace storm { // probability storm::expressions::Expression probExpr; unsigned probDeclCount = destEntry.count("probability"); - STORM_LOG_THROW(probDeclCount, storm::exceptions::InvalidJaniException, "Destination in edge from '" << sourceLoc << "' to '" << targetLoc << "' in automaton '" << name << "' has multiple probabilites"); + STORM_LOG_THROW(probDeclCount < 2, storm::exceptions::InvalidJaniException, "Destination in edge from '" << sourceLoc << "' to '" << targetLoc << "' in automaton '" << name << "' has multiple probabilites"); if(probDeclCount == 0) { probExpr = expressionManager->rational(1.0); } else { - probExpr = parseExpression(destEntry.at("probability"), "probability expression in edge from '" + sourceLoc + "' to '" + targetLoc + "' in automaton '" + name + "'", localVars); + STORM_LOG_THROW(destEntry.at("probability").count("exp") == 1, storm::exceptions::InvalidJaniException, "Destination in edge from '" << sourceLoc << "' to '" << targetLoc << "' in automaton '" << name << "' must have one expression."); + probExpr = parseExpression(destEntry.at("probability").at("exp"), "probability expression in edge from '" + sourceLoc + "' to '" + targetLoc + "' in automaton '" + name + "'", localVars); } assert(probExpr.isInitialized()); - STORM_LOG_THROW(probExpr.hasRationalType(), storm::exceptions::InvalidJaniException, "Probability expr " << probExpr << " does not have rational type." ); + STORM_LOG_THROW(probExpr.hasNumericalType(), storm::exceptions::InvalidJaniException, "Probability expression " << probExpr << " does not have a numerical type." ); // assignments unsigned assignmentDeclCount = destEntry.count("assignments"); STORM_LOG_THROW(assignmentDeclCount < 2, storm::exceptions::InvalidJaniException, "Destination in edge from '" << sourceLoc << "' to '" << targetLoc << "' in automaton '" << name << "' has multiple assignment lists"); diff --git a/src/parser/JaniParser.h b/src/parser/JaniParser.h index e4fafcd2a..18d062cd0 100644 --- a/src/parser/JaniParser.h +++ b/src/parser/JaniParser.h @@ -1,6 +1,7 @@ #ifndef STORM_JANIPARSER_H #define STORM_JANIPARSER_H +#include #include "src/exceptions/FileIoException.h" #include "src/storage/expressions/ExpressionManager.h" @@ -36,10 +37,14 @@ namespace storm { std::shared_ptr parseVariable(json const& variableStructure, std::string const& scopeDescription, bool prefWithScope = false); storm::expressions::Expression parseExpression(json const& expressionStructure, std::string const& scopeDescription, std::unordered_map> const& localVars = {}); private: + std::shared_ptr parseConstant(json const& constantStructure, std::string const& scopeDescription = "global"); + /** * Helper for parsing the actions of a model. */ void parseActions(json const& actionStructure, storm::jani::Model& parentModel); + std::vector parseUnaryExpressionArguments(json const& expressionStructure, std::string const& opstring, std::string const& scopeDescription, std::unordered_map> const& localVars = {}); + std::vector parseBinaryExpressionArguments(json const& expressionStructure, std::string const& opstring, std::string const& scopeDescription, std::unordered_map> const& localVars = {}); std::shared_ptr parseComposition(json const& compositionStructure); diff --git a/test/functional/parser/JaniParserTest.cpp b/test/functional/parser/JaniParserTest.cpp index 20dbf08a7..6d5d0712e 100644 --- a/test/functional/parser/JaniParserTest.cpp +++ b/test/functional/parser/JaniParserTest.cpp @@ -5,16 +5,16 @@ TEST(JaniParser, DieTest) { - std::string testFileInput = STORM_CPP_TESTS_BASE_PATH"/../examples/jani-examples/dice.jani"; + std::string testFileInput = STORM_CPP_TESTS_BASE_PATH"/../examples/exported-jani-models/dice.jani"; storm::jani::Model model = storm::parser::JaniParser::parse(testFileInput); } TEST(JaniParser, BrpTest) { - std::string testFileInput = STORM_CPP_TESTS_BASE_PATH"/../examples/jani-examples/brp.jani"; + std::string testFileInput = STORM_CPP_TESTS_BASE_PATH"/../examples/exported-jani-models/brp.jani"; storm::jani::Model model = storm::parser::JaniParser::parse(testFileInput); } TEST(JaniParser, ConsensusTest) { - std::string testFileInput = STORM_CPP_TESTS_BASE_PATH"/../examples/jani-examples/consensus-6.jani"; + std::string testFileInput = STORM_CPP_TESTS_BASE_PATH"/../examples/exported-jani-models/coin2.jani"; storm::jani::Model model = storm::parser::JaniParser::parse(testFileInput); } \ No newline at end of file